class DA_Session
- DA_Session
- Reference
- Object
Defined in:
da_session.crConstant Summary
-
ID_SIZE =
32
Constructors
Instance Method Summary
- #context : HTTP::Server::Context
- #cookie_name : String
- #delete
- #deleted? : Bool
- #domain : String | Nil
- #encoded_id(sess_id : String)
- #encoded_id
- #id
- #id?
- #in_client? : Bool
- #lifespan : Time::Span
- #load
- #new? : Bool
- #new_cookie(value : String = "")
- #path : String
- #save
- #secret : String
- #secure : Bool
Constructor Detail
def self.new(context : HTTP::Server::Context, secret : String = "", secure : Bool = true, lifespan : Time::Span = 1.hour, cookie_name : String = "da_session_id", domain : Nil | String = nil, path : String = "/")
#