Elgg  Version 1.9
SessionHandler.php
Go to the documentation of this file.
1 <?php
2 
14 
23  public function open($save_path, $name);
24 
31  public function read($session_id);
32 
40  public function write($session_id, $session_data);
41 
47  public function close();
48 
55  public function destroy($session_id);
56 
63  public function gc($max_lifetime);
64 }
write($session_id, $session_data)
Writes the session data to the session storage.
if($guid==elgg_get_logged_in_user_guid()) $name
Definition: delete.php:21
read($session_id)
Reads the session data from the session storage, and returns the results.
open($save_path, $name)
Re-initialize existing session, or creates a new one.
close()
Closes the current session.
destroy($session_id)
Destroys a session.
gc($max_lifetime)
Cleans up expired sessions.