Class

SessionsConfig

Package: PHPBoost\Config Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Benoit SAUTEL ben.popeye@phpboost.com Version: PHPBoost 5.2 - last update: 2015 07 04 Since: PHPBoost 3.0 - 2010 07 14 Contributor: Julien BRISWALTER j1.seth@phpboost.com Located at: phpboost/config/SessionsConfig.class.php
AbstractConfigData implements ConfigData
Extended by SessionsConfig
Methods summary
public
public
# set_session_duration( $duration )
public
public
public
public
public string[mixed]
# get_default_values( )

Returns a map associating to each property name the corresponding default value

public static SessionsConfig
# load( )

Returns the configuration.

public static
# save( )

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

Constants summary
string SESSION_DURATION

Duration of a session (in seconds).

# 'session_duration'
string ACTIVE_SESSION_DURATION

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

# 'active_session_duration'
string AUTOCONNECT_DURATION

Duration of autoconnect cookie (in seconds).

# 'autoconnect_duration'
Annonces