31 public function read($session_id);
40 public function write($session_id, $session_data);
47 public function close();
55 public function destroy($session_id);
63 public function gc($max_lifetime);
write($session_id, $session_data)
Writes the session data to the session storage.
if($guid==elgg_get_logged_in_user_guid()) $name
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.