Skip to Content Skip to Search
v7.1.0
class ActionDispatch::Session::MemCacheStore < Rack::Session::Dalli

Action Dispatch Session MemCacheStore

A session store that uses MemCache to implement storage.

Options

  • expire_after - The length of time a session will be stored before automatically expiring.

Methods
N
Included Modules

Public class methods

new(app, options = {})

Permalink
Source code GitHub
# File actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb, line 24
def initialize(app, options = {})
  options[:expire_after] ||= options[:expires]
  super
end
Definition files