Bric::App::Session

Name

Bric::App::Session - A class to handle user sessions

Synopsis

use Bric::App::Session;

#- Methods called from the apache perl handler -#

setup_user_session($r);

sync_user_session();

#- Methods called from widgets -#

[$new_state_name, $new_state_data] = init_state($widget, $state, $data);

$state_name = state_name($widget, $name);

$state_data = state_data($widget, ($data_hash || $name, $value));

[$state_name, $state_data] = state($widget, $state_name, $state_data);

Description

This module provides all the necessary functions for maintaining state within widgets. This includes setting a global state variable $session as well as accessor methods for setting the state name of a widget and state data of a widget.

Interface

Public Class Methods

#------------------------------------------------------------------------------#

Functions

Notes

NONE

Author

Garth Webb

See Also

perl, Bric, Apache::Session::File