Action Dispatch Session MemCacheStore¶ ↑
使用 MemCache 实现存储的会话存储。
选项¶ ↑
-
expire_after- 会话在自动过期前存储的时间长度。
方法
- N
包含的模块
类公共方法
new(app, options = {}) 链接
来源: 显示 | 在 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