5 include_once(
"./Services/Authentication/classes/class.ilSession.php");
23 if (ini_get(
"session.save_handler") ==
"user")
25 session_set_save_handler(
27 array($this,
"close"),
29 array($this,
"write"),
30 array($this,
"destroy"),
48 public function open($save_path, $name)
70 public function read($session_id)
85 include_once(
"./Services/Authentication/classes/class.ilSession.php");
107 public function gc($gc_maxlifetime)
115 register_shutdown_function(
"session_write_close");
static _destroy($a_session_id, $a_closing_context=null, $a_expired_at=null)
Destroy session.
gc($gc_maxlifetime)
removes sessions that weren't updated for more than gc_maxlifetime seconds
Database Session Handling.
destroy($session_id)
destroy session
static _destroyExpiredSessions()
Destroy expired sessions.
static _getData($a_session_id)
Get session data from table.
Create styles array
The data for the language used.
static _writeData($a_session_id, $a_data)
Write session data.
write($session_id, $data)
Writes serialized session data to the database.