Jifty::Web::Session::ApacheSession - Jifty Sessions based on Apache::Session
In your etc/config.yml, using the Apache::Session::File backend:
framework: Web: SessionClass: Jifty::Web::Session::ApacheSession SessionBackend: File SessionOptions: Directory: /tmp/sessions LockDirectory: /var/lock/sessions
Or with Apache::Session::Memorycached backend:
framework: Web: SessionClass: Jifty::Web::Session::ApacheSession SessionBackend: Memorycached SessionOptions: { servers: [ '127.0.0.1:11211' ] }
Returns a new, empty session handler, subclassing Jifty::Web::Session.
Returns the session's id if it has been loaded, or undef otherwise.
undef
Creates a new session.
Load up the current session from the given ID, or the appropriate cookie (see "cookie_name" in Jifty::Web::Session) otherwise.
ID
If both of those fail, creates a session in memory.
See "get" in Jifty::Web::Session.
See "set" in Jifty::Web::Session.
See "remove" in Jifty::Web::Session.
See "remove_all" in Jifty::Web::Session.
See "continuations" in Jifty::Web::Session.
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.