| Jifty documentation | view source | Contained in the Jifty distribution. |
Jifty::Web::Session::ClientSide - Session handler for client-side sessions
In your etc/config.yml:
framework:
Web:
SessionClass: Jifty::Web::Session::ClientSide
SessionSecret: secret_passphrase
Returns a new, empty session handler, subclassing Jifty::Web::Session.
Accessor to the underlying Crypt::CBC object that encapsulates the server-side secret.
Returns the session's id if it has been loaded, or undef otherwise.
Since there is no server-side storage, this simply clears the object's local state.
Load up the current session from the given ID, or the appropriate
cookie (see cookie_name in Jifty::Web::Session) otherwise.
If both of those fail, creates a session in memory.
Outputs the client-side session as one or more cookies.
| Jifty documentation | view source | Contained in the Jifty distribution. |