NAME

Para::Frame::Session - Session handling

DESCRIPTION

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.

new

init

  $s->init

This is called after the session construction.

Reimplement this mothod if you subclass Para::Frame::Session.

The default method is empty.

new_minimal

after_request

register_result_page

id

  $s->id

Returns the session id.

user

  $s->user

Returns the session user object. Para::Frame::User or an object in your subclass of that.

referer

  $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.)

route

  $part->route

Returns the Para::Frame::Route object.

debug_data

list

  $s->list( $id )

Returns the previously stored Para::Frame::List object number $id.

debug_level

  $s->debug_level

Return the session debug level

set_debug

  $s->set_debug

Sets and return the session debug level

admin_mode

  $s->admin_mode

after_user_logout

Is called after a user logout

count

latest

wj_login

wj_logout

var_update

go_login

  $s->go_login()

  $s->go_login( $response )

Implement this in a sub-class to replace redirection to default /login.tt page.

SEE ALSO

Para::Frame