Class

SessionsConfig

Package: phpboost Author: Benoit SAUTEL <ben.popeye@phpboost.com> Desc Located at phpboost/config/SessionsConfig.class.php
AbstractConfigData implements ConfigData
Extended by SessionsConfig
Methods summary
public
public
# set_session_duration( mixed $duration )
public
public
# set_active_session_duration( mixed $duration )
public
public
# set_autoconnect_duration( mixed $duration )
public string[mixed]
# get_default_values( )
public static SessionsConfig
# load( )

Returns the configuration.

public static
# save( )

Saves the configuration in the database. Has it become persistent.

Methods inherited from AbstractConfigData
__construct(), get_property(), set_default_values(), set_property(), synchronize()
Constants summary
string SESSION_DURATION 'session_duration'
#

Duration of a session (in seconds).

string ACTIVE_SESSION_DURATION 'active_session_duration'
#

Time during which the sessions is considered as active (the user is online)

string AUTOCONNECT_DURATION 'autoconnect_duration'
#