class Rack::Session::Abstract::Persisted

def extract_session_id(request)

def extract_session_id(request)
  sid = request.cookies[@key]
  sid ||= request.params[@key] unless @cookie_only
  sid
end