Para::Frame::Session - Session handling
You get this object by Para::Frame::Request/session.
If you subclass this class, set the name of yo0ur class in Para::Frame/session_class.
$s->init
This is called after the session construction.
Reimplement this mothod if you subclass Para::Frame::Session
.
The default method is empty.
$s->id
Returns the session id.
$s->user
Returns the session user object. Para::Frame::User or an object in your subclass of that.
$s->referer
Returns a URI object of the previous page visited in the session.
(A user can have several browser windows opened in the same session.)
$part->route
Returns the Para::Frame::Route object.
$s->list( $id )
Returns the previously stored Para::Frame::List object number
$id
.
$s->debug_level
Return the session debug level
$s->set_debug
Sets and return the session debug level
$s->admin_mode
Is called after a user logout
$s->go_login() $s->go_login( $response )
Implement this in a sub-class to replace redirection to default
/login.tt
page.