OpenFrame::WebApp::Segment::User::Session - abstract class for working with


OpenFrame-WebApp documentation  | view source Contained in the OpenFrame-WebApp distribution.

Index


NAME

Top

OpenFrame::WebApp::Segment::User::Session - abstract class for working with users stored in sessions.

SYNOPSIS

Top

  # abstract - cannot be used directly

  # set session key:
  $OpenFrame::WebApp::Segment::User::Session::USER_KEY = 'my_user';

DESCRIPTION

Top

This class contains tools for working with users stored in sessions.

Inherits from OpenFrame::WebApp::Segment::Session.

METHODS

Top

$bool = $obj->save_user_in_session()

saves user in the stored session, using $USER_KEY.

$user = $obj->get_user_from_session()

gets user from the stored session, using $USER_KEY.

AUTHOR

Top

Steve Purkis <spurkis@epn.nu>

COPYRIGHT

Top

SEE ALSO

Top

OpenFrame::WebApp::User, OpenFrame::WebApp::Segment::Session, OpenFrame::WebApp::Segment::User::SessionLoader, OpenFrame::WebApp::Segment::User::SaveInSession


OpenFrame-WebApp documentation  | view source Contained in the OpenFrame-WebApp distribution.