| ILIAS
    Release_4_3_x_branch Revision 61807
    | 
 Collaboration diagram for ilSession:
 Collaboration diagram for ilSession:| 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, $a_closing_context=null, $a_expired_at=null) | 
| 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. | |
| static | set ($a_var, $a_val) | 
| Set a value. | |
| static | get ($a_var) | 
| Get a value. | |
| static | clear ($a_var) | 
| Unset a value. | |
| static | setClosingContext ($a_context) | 
| set closing context (for statistics) | |
| static | getClosingContext () | 
| get closing context (for statistics) | |
| Data Fields | |
| const | SESSION_HANDLING_FIXED = 0 | 
| const | SESSION_HANDLING_LOAD_DEPENDENT = 1 | 
| const | SESSION_CLOSE_USER = 1 | 
| const | SESSION_CLOSE_EXPIRE = 2 | 
| const | SESSION_CLOSE_FIRST = 3 | 
| const | SESSION_CLOSE_IDLE = 4 | 
| const | SESSION_CLOSE_LIMIT = 5 | 
| const | SESSION_CLOSE_LOGIN = 6 | 
| const | SESSION_CLOSE_PUBLIC = 7 | 
| const | SESSION_CLOSE_TIME = 8 | 
| const | SESSION_CLOSE_IP = 9 | 
| const | SESSION_CLOSE_SIMUL = 10 | 
| const | SESSION_CLOSE_INACTIVE = 11 | 
| Static Private Attributes | |
| static | $closing_context = null | 
| 
 | static | 
Destroy session.
| string|array | session id|s | 
| int | closing context | 
| int|bool | expired at timestamp | 
Definition at line 164 of file class.ilSession.php.
References $closing_context, ilSessionStatistics\closeRawEntry(), and ilSessionIStorage\destroySession().
Referenced by _destroyExpiredSessions(), ilSessionDBHandler\destroy(), ilInitialisation\initUser(), ilSessionControl\kickFirstRequestAbidencer(), ilSessionControl\kickOneMinIdleSession(), ilStartUpGUI\migrateAccount(), and ilSessionTest\testBasicSessionBehaviour().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Destroy session.
| string | session id | 
Definition at line 204 of file class.ilSession.php.
Referenced by ilObjUser\delete(), and ilSessionTest\testBasicSessionBehaviour().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Destroy expired sessions.
Definition at line 218 of file class.ilSession.php.
References $res, $row, and _destroy().
Referenced by _writeData(), ilSessionStatisticsGUI\adminSync(), ilSessionDBHandler\gc(), and ilSessionTest\testBasicSessionBehaviour().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Duplicate session.
| string | session id | 
Definition at line 244 of file class.ilSession.php.
References $query, $res, $row, and _writeData().
Referenced by ilContainer\cloneAllObject(), ilECSTaskScheduler\initNextExecution(), and ilSessionTest\testBasicSessionBehaviour().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Check whether session exists.
| string | session id | 
Definition at line 143 of file class.ilSession.php.
Referenced by _writeData(), ilInitialisation\setSessionHandler(), and ilSessionTest\testBasicSessionBehaviour().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get session data from table.
| string | session id | 
Definition at line 60 of file class.ilSession.php.
Referenced by ilSessionDBHandler\read(), and ilSessionTest\testBasicSessionBehaviour().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get the active users with a specific remote ip address.
| string | ip address | 
Definition at line 342 of file class.ilSession.php.
References $query, $result, and $row.
Referenced by ilWebAccessChecker\determineUser().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Write session data.
| string | session id | 
| string | session data | 
Definition at line 78 of file class.ilSession.php.
References $_SESSION, $GLOBALS, ilSessionControl\$session_types_controlled, _destroyExpiredSessions(), _exists(), ilSessionStatistics\aggretateRaw(), and ilSessionStatistics\createRawEntry().
Referenced by _duplicate(), ilSessionTest\testBasicSessionBehaviour(), and ilSessionDBHandler\write().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Unset a value.
| @return | 
Definition at line 387 of file class.ilSession.php.
References $_SESSION.
Referenced by ilObjiLincUserGUI\cancel(), ilLMObjectGUI\cancelDelete(), ilObjiLincClassroomGUI\cancelDeleteClassroom(), ilSCORM2004ScoGUI\cancelDeleteExportFile(), ilObjSCORM2004LearningModuleGUI\cancelDeleteExportFile(), ilObjSurveyQuestionPoolGUI\cancelDeleteExportFileObject(), ilObjectGUI\cancelDeleteObject(), ilObjUserGUI\cancelObject(), ilObjectGUI\cancelObject(), ilObjectGUI\checkPermission(), ilObjectGUI\confirmedDeleteObject(), ilRepUtil\deleteObjects(), ilTemplate\fillMessage(), ilUtil\infoPanel(), ilHelpGUI\resetCurrentPage(), ilTemplate\show(), and ilPageObjectGUI\showPage().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get a value.
| @return | 
Definition at line 376 of file class.ilSession.php.
References $_SESSION.
Referenced by ilMailFolderGUI\addSubfolderCommands(), ilObjectGUI\confirmedDeleteObject(), ilTemplate\fillMessage(), ilHelpMappingTableGUI\getChapters(), ilInitialisation\initCore(), ilHelpGUI\initHelp(), ilInitialisation\initLanguage(), ilObjForumGUI\initSessionStorage(), ilInitialisation\initUserAccount(), ilStartUpGUI\migrateAccount(), ilMailFolderGUI\performAddSubFolder(), ilMailFolderGUI\performRenameSubFolder(), ilMailGUI\setViewMode(), ilTemplate\show(), ilObjContentObjectGUI\showExportIDsOverview(), ilMailGUI\showHeader(), ilHelpGUI\showHelp(), and ilObjContentObjectGUI\showTooltipList().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
get closing context (for statistics)
Definition at line 407 of file class.ilSession.php.
References $closing_context.
| 
 | static | 
Returns the expiration timestamp in seconds.
| boolean | If passed, the value for fixed session is returned | 
Definition at line 280 of file class.ilSession.php.
References $ilSetting, ilSessionControl\DEFAULT_MAX_IDLE, SESSION_HANDLING_FIXED, and SESSION_HANDLING_LOAD_DEPENDENT.
| 
 | static | 
Returns the idle time in seconds.
| boolean | If passed, the value for fixed session is returned | 
Definition at line 306 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Returns the session expiration value.
Definition at line 331 of file class.ilSession.php.
References getIdleValue().
Referenced by ilObjSystemFolderGUI\displayBasicSettings(), ilObjSystemFolderGUI\initBasicSettingsForm(), and ilPersonalSettingsGUI\initGeneralSettingsForm().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Set a value.
| @return | 
Definition at line 365 of file class.ilSession.php.
References $_SESSION.
Referenced by ilObjContentObjectGUI\addTooltip(), ilObjectGUI\deleteObject(), ilMailGUI\executeCommand(), ilObjContentObjectGUI\filterHelpChapters(), ilObjContentObjectGUI\filterTooltips(), ilObjectGUI\hitsperpageObject(), ilInitialisation\initHTML(), ilInitialisation\initLanguage(), ilObjForumGUI\initSessionStorage(), ilInitialisation\initUser(), ilInitialisation\initUserAccount(), ilStartUpGUI\migrateAccount(), ilTemplate\setMessage(), ilTemplate\show(), ilHelpGUI\showHelp(), ilStartUpGUI\showLogin(), and ilHelpGUI\showPage().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
set closing context (for statistics)
| int | $a_context | 
Definition at line 397 of file class.ilSession.php.
Referenced by ilSessionControl\checkCurrentSessionIsAllowed(), ilPersonalSettingsGUI\deleteOwnAccountLogout(), ilInitialisation\goToLogin(), ilInitialisation\goToPublicSection(), ilStartUpGUI\showLogin(), and ilStartUpGUI\showLogout().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | staticprivate | 
Definition at line 52 of file class.ilSession.php.
Referenced by _destroy(), and getClosingContext().
| const ilSession::SESSION_CLOSE_EXPIRE = 2 | 
Definition at line 41 of file class.ilSession.php.
Referenced by ilSessionStatistics\aggregateRawHelper(), ilInitialisation\goToLogin(), and ilInitialisation\goToPublicSection().
| const ilSession::SESSION_CLOSE_FIRST = 3 | 
Definition at line 42 of file class.ilSession.php.
Referenced by ilSessionStatistics\aggregateRawHelper(), and ilSessionControl\kickFirstRequestAbidencer().
| const ilSession::SESSION_CLOSE_IDLE = 4 | 
Definition at line 43 of file class.ilSession.php.
Referenced by ilSessionStatistics\aggregateRawHelper(), and ilSessionControl\kickOneMinIdleSession().
| const ilSession::SESSION_CLOSE_INACTIVE = 11 | 
Definition at line 50 of file class.ilSession.php.
Referenced by ilStartUpGUI\showLogin().
| const ilSession::SESSION_CLOSE_IP = 9 | 
Definition at line 48 of file class.ilSession.php.
Referenced by ilStartUpGUI\showLogin().
| const ilSession::SESSION_CLOSE_LIMIT = 5 | 
Definition at line 44 of file class.ilSession.php.
Referenced by ilSessionStatistics\aggregateRawHelper(), and ilSessionControl\checkCurrentSessionIsAllowed().
| const ilSession::SESSION_CLOSE_LOGIN = 6 | 
Definition at line 45 of file class.ilSession.php.
Referenced by ilSessionStatistics\aggregateRawHelper(), ilInitialisation\goToLogin(), and ilInitialisation\initUser().
| const ilSession::SESSION_CLOSE_PUBLIC = 7 | 
Definition at line 46 of file class.ilSession.php.
Referenced by ilInitialisation\goToPublicSection().
| const ilSession::SESSION_CLOSE_SIMUL = 10 | 
Definition at line 49 of file class.ilSession.php.
Referenced by ilStartUpGUI\showLogin().
| const ilSession::SESSION_CLOSE_TIME = 8 | 
Definition at line 47 of file class.ilSession.php.
Referenced by ilStartUpGUI\showLogin().
| const ilSession::SESSION_CLOSE_USER = 1 | 
Definition at line 40 of file class.ilSession.php.
Referenced by ilSessionStatistics\aggregateRawHelper(), ilPersonalSettingsGUI\deleteOwnAccountLogout(), and ilStartUpGUI\showLogout().
| const ilSession::SESSION_HANDLING_FIXED = 0 | 
Definition at line 24 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 33 of file class.ilSession.php.
Referenced by ilSetupGUI\displaySessions(), getExpireValue(), getIdleValue(), ilObjSystemFolderGUI\initBasicSettingsForm(), and ilObjSystemFolderGUI\saveBasicSettingsObject().