instance method
delete_session
Ruby on Rails 5.0.7.2
Since v5.0.7.2Signature
delete_session(env, sid, options)
Remove a session from the cache.
Parameters
-
envreq -
sidreq -
optionsreq
Source
# File actionpack/lib/action_dispatch/middleware/session/cache_store.rb, line 40
def delete_session(env, sid, options)
@cache.delete(cache_key(sid))
generate_sid
end
Defined in actionpack/lib/action_dispatch/middleware/session/cache_store.rb line 40
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Session::CacheStore