Class: ActionDispatch::Session::MemCacheStore
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Rack::Session::Dalli
|
|
Instance Chain:
|
|
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
Constructor Details
.new(app, options = {}) ⇒ MemCacheStore
# File 'actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb', line 28
def initialize(app, = {}) [:expire_after] ||= [:expires] super end