WWW::Kontent::Session - Kontent session manager
$request.session.get("identity"); $request.session.set("identity", 'users/anonymous');
WWW::Kontent::Session is an object representing a Kontent session. Sessions are kept in a pool off the root page, and have zero or more keys, each with an accompanying value.
sid
Returns the session ID associated with this session. Supervisors should arrange to have session IDs sent along with every outgoing request as a cookie.
new
Creates a new Session object with the associated session ID. If no session ID is provided, it will generate one by hashing together various pieces of data in the environment and a few random numbers.
get
Retrieves the value of the given key from the session.
set
Sets the given key to the given value.
delete
Deletes the entire session. The behavior of the Session object after this method is called is undefined.
WWW::Kontent, WWW::Kontent::Store
3 POD Errors
The following errors were encountered while parsing the POD:
=back doesn't take any parameters, but you said =back 4
To install WWW::Kontent::Session, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Kontent::Session
CPAN shell
perl -MCPAN -e shell install WWW::Kontent::Session
For more information on module installation, please visit the detailed CPAN module installation guide.