blob: 4dd9a946c2e602ed33275ddb72b0619b4bca7241 (
plain) (
tree)
|
|
require 'action_dispatch/middleware/session/abstract_store'
require 'rack/session/memcache'
module ActionDispatch
module Session
class MemCacheStore < Rack::Session::Memcache
include Compatibility
include StaleSessionCheck
def initialize(app, options = {})
require 'memcache'
options[:expire_after] ||= options[:expires]
super
end
end
end
end
|