class ActionDispatch::Session::MemCacheStore

Parent:
Rack::Session::Dalli
Included modules:
ActionDispatch::Session::Compatibility, ActionDispatch::Session::StaleSessionCheck

A session store that uses MemCache to implement storage.

Options

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

Public Class Methods

new(app, options = {}) Show source
# File actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb, line 22
def initialize(app, options = {})
  options[:expire_after] ||= options[:expires]
  super
end
Calls superclass method ActionDispatch::Session::Compatibility.new

© 2004–2019 David Heinemeier Hansson
Licensed under the MIT License.