Contentment::Session - Session management for Contentment
This is a session management module specifically designed for Contentment.
This class adds the following context methods:
This method returns a reference to a hash containing the session data.
This method returns a reference to the session ID.
This class defines the following hook handlers:
Deploys the session class into the database.
This handles the "Contentment::Request::begin" hook. It associates session information with the context and calles the "Contentment::Session::begin" hook.
This handles the "Contentment::Response::begin" hook and is responsible for making sure a cookie gets set on the client.
This method handles the "Contentment::Request::end" hook. It calls the "Contentment::Session::end" hook and then serializes any changes to the session data.
This class defines and uses the following hooks:
This hook is called as soon as the session information has been added to the context. Handlers of this hook can expect a single argument: the current context object.
This hook can be used to perform additional loading or other session data modifications.
This hook is called immediately before the session information is saved. Handlers of this hook can expect a single argument: the current context object.
This hook can be used to prepare data for serialization, sanitize session data, or perform other session data modifications prior to saving.
Contentment::Context
Andrew Sterling Hanenkamp, <hanenkamp@users.sourceforge.net>
Copyright 2005 Andrew Sterling Hanenkamp. All Rights Reserved.
Contentment is distributed and licensed under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
To install Contentment, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Contentment
CPAN shell
perl -MCPAN -e shell install Contentment
For more information on module installation, please visit the detailed CPAN module installation guide.