ILIAS
Release_4_2_x_branch Revision 61807
|
Static Public Member Functions | |
static | _getData ($a_session_id) |
Get session data from table. | |
static | _writeData ($a_session_id, $a_data) |
Write session data. | |
static | _exists ($a_session_id) |
Check whether session exists. | |
static | _destroy ($a_session_id) |
Destroy session. | |
static | _destroyByUserId ($a_user_id) |
Destroy session. | |
static | _destroyExpiredSessions () |
Destroy expired sessions. | |
static | _duplicate ($a_session_id) |
Duplicate session. | |
static | getExpireValue ($fixedMode=false) |
Returns the expiration timestamp in seconds. | |
static | getIdleValue ($fixedMode=false) |
Returns the idle time in seconds. | |
static | getSessionExpireValue () |
Returns the session expiration value. | |
static | _getUsersWithIp ($a_ip) |
Get the active users with a specific remote ip address. |
Data Fields | |
const | SESSION_HANDLING_FIXED = 0 |
const | SESSION_HANDLING_LOAD_DEPENDENT = 1 |
|
static |
Destroy session.
string | session id |
Definition at line 181 of file class.ilSession.php.
References $ilDB.
Referenced by db_session_destroy(), ilSessionControl\kickOneMinIdleSession(), and ilSessionTest\testBasicSessionBehaviour().
|
static |
Destroy session.
string | session id |
Definition at line 197 of file class.ilSession.php.
References $ilDB.
Referenced by ilObjUser\delete(), and ilSessionTest\testBasicSessionBehaviour().
|
static |
Destroy expired sessions.
Definition at line 211 of file class.ilSession.php.
References $ilDB.
Referenced by _writeData(), db_session_gc(), and ilSessionTest\testBasicSessionBehaviour().
|
static |
Duplicate session.
string | session id |
Definition at line 228 of file class.ilSession.php.
References $ilDB, $query, $res, $row, and _writeData().
Referenced by duplicate_session(), and ilSessionTest\testBasicSessionBehaviour().
|
static |
Check whether session exists.
string | session id |
Definition at line 162 of file class.ilSession.php.
References $ilDB.
Referenced by _writeData(), and ilSessionTest\testBasicSessionBehaviour().
|
static |
Get session data from table.
string | session id |
Definition at line 39 of file class.ilSession.php.
References $ilDB.
Referenced by db_session_read(), and ilSessionTest\testBasicSessionBehaviour().
|
static |
Get the active users with a specific remote ip address.
string | ip address |
Definition at line 326 of file class.ilSession.php.
References $ilDB, $query, $result, and $row.
Referenced by ilWebAccessChecker\determineUser().
|
static |
Write session data.
string | session id |
string | session data |
Definition at line 57 of file class.ilSession.php.
References $_SESSION, $GLOBALS, $ilDB, $ilSetting, _destroyExpiredSessions(), _exists(), and getExpireValue().
Referenced by _duplicate(), db_session_write(), and ilSessionTest\testBasicSessionBehaviour().
|
static |
Returns the expiration timestamp in seconds.
boolean | If passed, the value for fixed session is returned |
Definition at line 264 of file class.ilSession.php.
References $ilSetting, ilSessionControl\DEFAULT_MAX_IDLE, SESSION_HANDLING_FIXED, and SESSION_HANDLING_LOAD_DEPENDENT.
Referenced by _writeData().
|
static |
Returns the idle time in seconds.
boolean | If passed, the value for fixed session is returned |
Definition at line 290 of file class.ilSession.php.
References $ilSetting, ilSessionControl\DEFAULT_MAX_IDLE, SESSION_HANDLING_FIXED, and SESSION_HANDLING_LOAD_DEPENDENT.
Referenced by ilAuthUtils\_initAuth(), ilTestOutputGUI\finishTest(), and getSessionExpireValue().
|
static |
Returns the session expiration value.
Definition at line 315 of file class.ilSession.php.
References getIdleValue().
Referenced by ilObjSystemFolderGUI\displayBasicSettings(), ilObjSystemFolderGUI\initBasicSettingsForm(), and ilPersonalSettingsGUI\initGeneralSettingsForm().
const ilSession::SESSION_HANDLING_FIXED = 0 |
Definition at line 22 of file class.ilSession.php.
Referenced by ilSetupGUI\displaySessions(), getExpireValue(), getIdleValue(), ilObjSystemFolderGUI\initBasicSettingsForm(), and ilObjSystemFolderGUI\saveBasicSettingsObject().
const ilSession::SESSION_HANDLING_LOAD_DEPENDENT = 1 |
Definition at line 31 of file class.ilSession.php.
Referenced by ilSetupGUI\displaySessions(), getExpireValue(), getIdleValue(), ilObjSystemFolderGUI\initBasicSettingsForm(), and ilObjSystemFolderGUI\saveBasicSettingsObject().