| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
Database Session Handling. More...
 Collaboration diagram for ilSessionDBHandler:
 Collaboration diagram for ilSessionDBHandler:| Public Member Functions | |
| setSaveHandler () | |
| open ($save_path, $name) | |
| close () | |
| close session | |
| read ($session_id) | |
| write ($session_id, $data) | |
| Writes serialized session data to the database. | |
| destroy ($session_id) | |
| destroy session | |
| gc ($gc_maxlifetime) | |
| removes sessions that weren't updated for more than gc_maxlifetime seconds | |
Database Session Handling.
inc.db_session_handler.php 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 91 of file class.ilSessionDBHandler.php.
References ilSession\_destroy().
 Here is the call graph for this function:
 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 101 of file class.ilSessionDBHandler.php.
References ilSession\_destroyExpiredSessions().
 Here is the call graph for this function:
 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:
 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 ilSession\_writeData().
 Here is the call graph for this function:
 Here is the call graph for this function: