Session::MemoryStore(T)
Inherits Session::QueryableStore < Enumerable < Session::Store < Reference < Object
Constructors
new(sessions : Hash(String, T) = Hash(String, T).new)
SourceInstance methods
[]=(key : String, session : T) : T
Source[]?(key : String) : T | Nil
Sourceclear
Sourcedelete(key : String)
Sourceencrypts_with_secret?
Sessions stay in this process as objects: nothing is encrypted, so the secret is never read
(encrypt_redis_data, set by the :production, :high_security and :clustered presets, does not apply).
sessions
Source