method
get_session
rails latest stable - Class:
ActionController::Session::MemCacheStore
get_session(env, sid)private
No documentation available.
# File actionpack/lib/action_controller/session/mem_cache_store.rb, line 28
def get_session(env, sid)
sid ||= generate_sid
begin
session = @pool.get(sid) || {}
rescue MemCache::MemCacheError, Errno::ECONNREFUSED
session = {}
end
[sid, session]
end