class CacheStore
Ruby on Rails 7.0.10
Since v3.2.22.5A session store that uses an ActiveSupport::Cache::Store to store the sessions. This store is most useful if you don’t store critical data in your sessions and you don’t need them to live for extended periods of time.
Options
-
cache- The cache to use. If it is not specified,Rails.cachewill be used. -
expire_after- The length of time a session will be stored before automatically expiring. By default, the:expires_inoption of the cache is used.
Inherits from
Methods (defined here)
- # delete_session
- # find_session
- # write_session
- self. new
Private methods
(2)
Implementation detail — not part of the public API.
Methods (inherited)
From ActionDispatch::Session::Compatibility (2)
- # generate_sid
- self. new