Jifty::Web::Session - A Jifty session handler
* Jifty sessions
* User gets a per-app session cookie in their first response from the server * User gets an updated cookie on any request where: 1) if the cookie parameters have changed 2) if the user's current sessionid doesn't match the cookie's session id
* The session cookie is handed out after all processing, but before any page content is displayed
* The user gets a cookie even if we're doing a redirect.
* In the future, we might want to not give the user a cookie.
* Debugging
** Should log: * User presented a session cookie * Loaded session from disk * Failed to load session from disk (expired) * Created a new session * Sent a session cookie to the user.
Load up the current session from a cookie
Flush the session to diskd and quit.
Returns the value for KEY for the current user's session
KEY
Sets the value VALUE for KEY for the current user's session
VALUE
Remove key KEY from the cache.
Stores a continuation in the session
Pulls a continuation from the current session. Expects a continuation id
Removes a continuation with id CONTINUATION id from the store.
Return a hash of all the continuations in this session. Keyed by continuation_id.
id
Sets the session cookie
Returns the current session's cookie_name. (It's a generic thing for all users
Return this cache entry's expirey date, in the format expected by Cache::Cache;
To install Jifty, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Jifty
CPAN shell
perl -MCPAN -e shell install Jifty
For more information on module installation, please visit the detailed CPAN module installation guide.