Jifty::Web::Session::None - A null session handler for jifty
Jifty depends on its sessions to keep users logged in, to store continuations and to allow developers to store user-specific data. In general, you don't want to disable them. But sometimes, the development benefits of Jifty lead you to build applications that genuinely don't want per-user sessions. That's where Jifty::Web::Session::None comes in. By specifying that you want to use Jifty::Web::Session::None as your Jifty session handler, you tell Jifty to avoid ever reading, writing or storing a user session. No cookies get set. Nothing gets stored in the database.
Jifty::Web::Session::None
In your etc/config.yml:
etc/config.yml
--- framework: Web: SessionClass:: Jifty::Web::Session::None
All methods in this class are dummy methods which do no work. This class mocks the API provided by Jifty::Web::Session.
Jifty::Web::Session
Takes no arguments. Returns a Jifty::Web::Session::None.
Returns false.
Returns true.
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.