32 public function read($session_id);
41 public function write($session_id, $session_data);
48 public function close();
56 public function destroy($session_id);
64 public function gc($max_lifetime);
write($session_id, $session_data)
Writes the session data to the session storage.
destroy($session_id)
Destroys a session.
if($guid==elgg_get_logged_in_user_guid()) $name
read($session_id)
Reads the session data from the session storage, and returns the results.
close()
Closes the current session.
open($save_path, $name)
Re-initialize existing session, or creates a new one.
gc($max_lifetime)
Cleans up expired sessions.