xTSessionScopeManage a session scope with PHP session and database for security
Located in /core/internal_components/common/scope/xt_sessionscope.class.php (line 56)
| Class | Description |
|---|---|
TSessionScope
|
This class provide session management for PLICI. |
TSessionScopeFo
|
This class provide session management for PLICI on FrontOffice only. |
bool
$m_is_existing_session
= null (line 63)
IS existin session
bool
$m_must_be_destroyed
(line 130)
Must be destroyed
DbConnexion
$m_object_dbconnexion
= null (line 76)
Database Connexion object
string
$m_session_id
= NULL (line 69)
Session id
integer
$m_session_life_time_min
= 30 (line 123)
Session life time
string
$m_session_name
(line 136)
Session name
integer
$m_time_cookie_life
= 0 (line 117)
Time cookie life
string
$req_delete
= "delete from t_session
SQL Request : Delete
string
$req_exist
= "select ses_id from t_session
SQL Request : exist
string
$req_insert
= "insert into t_session(ses_id,ses_created,ses_modified)
SQL Request : Insert
string
$req_update
= "update t_session set ses_modified=now()
SQL Request : Update
string
$test
(line 142)
Constructor, init the requests and objects. And attempt to load a session
Generate unique id : max of 35 charater generated
Get database id for the session id
Test if exist session
load session
Documentation generated on Tue, 25 Mar 2008 15:37:38 +0100 by phpDocumentor 1.3.2