Class: ActionDispatch::Session::MemCacheStore
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Rack::Session::Dalli
|
|
Instance Chain:
self,
StaleSessionCheck ,
Compatibility ,
Rack::Session::Dalli
|
|
Inherits: |
Rack::Session::Dalli
|
Defined in: | actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb |
Overview
A session store that uses MemCache to implement storage.
Options
-
expire_after
- The length of time a session will be stored before automatically expiring.
Class Method Summary
- .new(app, options = {}) ⇒ MemCacheStore constructor
Instance Method Summary
StaleSessionCheck
- Included
Compatibility
- Included
Constructor Details
.new(app, options = {}) ⇒ MemCacheStore
# File 'actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb', line 24
def initialize(app, = {}) [:expire_after] ||= [:expires] super end