def existing?
      exists = false

      if session_cookie and validation_cookie
        session_tmp = session_cookie.to_s
        validation_tmp = validation_cookie.to_s

        if validation_tmp == validation_cookie_value(session_tmp)
          exists = true
        end
      end

      exists
    end
def existing?
      exists = false

      if session_cookie and validation_cookie
        session_tmp = session_cookie.to_s
        validation_tmp = validation_cookie.to_s

        if validation_tmp == validation_cookie_value(session_tmp)
          exists = true
        end
      end

      exists
    end
def existing? exists = false if session_cookie and validation_cookie session_tmp = session_cookie . to_s validation_tmp = validation_cookie . to_s if validation_tmp == validation_cookie_value ( session_tmp ) exists = true end end exists end
Do the cookies exist, and are they valid?
Do the cookies exist and are they valid?