123456789_123456789_123456789_123456789_123456789_

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
  • ::Object
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

Instance Method Summary

Constructor Details

.new(app, options = {}) ⇒ MemCacheStore

[ GitHub ]

  
# File 'actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb', line 28

def initialize(app, options = {})
  options[:expire_after] ||= options[:expires]
  super
end