|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Database Session Handling. More...
Collaboration diagram for ilSessionDBHandler:Public Member Functions | |
| setSaveHandler () | |
| open ($save_path, $name) | |
| close () | |
| close session More... | |
| read ($session_id) | |
| write ($session_id, $data) | |
| Writes serialized session data to the database. More... | |
| destroy ($session_id) | |
| destroy session More... | |
| gc ($gc_maxlifetime) | |
| removes sessions that weren't updated for more than gc_maxlifetime seconds More... | |
Database Session Handling.
@module inc.db_session_handler.php @modulegroup iliascore
Definition at line 14 of file class.ilSessionDBHandler.php.
| ilSessionDBHandler::close | ( | ) |
close session
for a db nothing has to be done here
Definition at line 58 of file class.ilSessionDBHandler.php.
| ilSessionDBHandler::destroy | ( | $session_id | ) |
destroy session
| integer | $session_id | session id |
Definition at line 97 of file class.ilSessionDBHandler.php.
References ilSession\_destroy().
Here is the call graph for this function:| ilSessionDBHandler::gc | ( | $gc_maxlifetime | ) |
removes sessions that weren't updated for more than gc_maxlifetime seconds
| integer | $gc_maxlifetime | max lifetime in seconds |
Definition at line 107 of file class.ilSessionDBHandler.php.
References ilSession\_destroyExpiredSessions().
Here is the call graph for this function:| ilSessionDBHandler::open | ( | $save_path, | |
| $name | |||
| ) |
Definition at line 48 of file class.ilSessionDBHandler.php.
| ilSessionDBHandler::read | ( | $session_id | ) |
Definition at line 70 of file class.ilSessionDBHandler.php.
References ilSession\_getData().
Here is the call graph for this function:| ilSessionDBHandler::setSaveHandler | ( | ) |
Definition at line 20 of file class.ilSessionDBHandler.php.
| ilSessionDBHandler::write | ( | $session_id, | |
| $data | |||
| ) |
Writes serialized session data to the database.
| integer | $session_id | session id |
| string | $data | session data |
Definition at line 81 of file class.ilSessionDBHandler.php.
References $data, $r, ilSession\_writeData(), and IL_INITIAL_WD.
Here is the call graph for this function: