Action Dispatch Session
MemCacheStore
一個使用 MemCache 來實作儲存的 session store。
選項
-
expire_after
- 一個 session 在自動過期前要儲存的時間長度。
方法
- 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