class
Amber::Router::Session::Store
- Amber::Router::Session::Store
- Reference
- Object
Overview
Builds the session store that session.store names.
signed_cookieandencrypted_cookiekeep the whole session in the visitor's cookie (CookieStore); the server holds nothing for it.adapterkeeps the session on the server through the adapter thatsession.adapternames (AdapterSessionStore), and the cookie carries only the encrypted session id.redisis read the same way.
Defined in:
amber/router/session/session_store.crConstructors
Instance Method Summary
- #build : Session::AbstractStore
- #config : Hash(Symbol, Symbol | String | Int32)
- #cookies : Cookies::Store
Constructor Detail
def self.new(cookies : Amber::Router::Cookies::Store, config : Hash(Symbol, Int32 | String | Symbol))
#