class ActionDispatch::Session::CookieStore

def write_session(req, sid, session_data, options)

def write_session(req, sid, session_data, options)
  session_data["session_id"] = sid.public_id
  SessionId.new(sid, session_data)
end