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.
Returns the session ID associated with this session. Supervisors should arrange to have session IDs sent along with every outgoing request as a cookie.
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.
Retrieves the value of the given key from the session.
Sets the given key to the given value.
Deletes the entire session. The behavior of the Session object after this method is called is undefined.