find_session(env, sid)
Get a session from the cache.
# File actionpack/lib/action_dispatch/middleware/session/cache_store.rb, line 30 def find_session(env, sid) unless sid && (session = get_session_with_fallback(sid)) sid, session = generate_sid, {} end [sid, session] end