ILIAS
release_4-3 Revision
|
Database Session Handling. More...
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().
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().
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().
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, and ilSession\_writeData().