A session store that uses MemCache to implement storage.
expire_after - The length of time a session will be stored before automatically expiring.
# File actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb, line 22
def initialize(app, options = {})
options[:expire_after] ||= options[:expires]
super
end
© 2004–2019 David Heinemeier Hansson
Licensed under the MIT License.