24 public function read($session_id) {
31 public function write($session_id, $session_data) {
52 public function gc($max_lifetime) {
if($guid==elgg_get_logged_in_user_guid()) $name
gc($max_lifetime)
Cleans up expired sessions.Sessions not updated for max_lifetime seconds are removed. boolean
write($session_id, $session_data)
Writes the session data to the session storage.The session id. The encoded session data...
read($session_id)
Reads the session data from the session storage, and returns the results.The session id...
destroy($session_id)
Destroys a session.The session id. boolean
close()
Closes the current session.boolean
open($save_path, $name)
Re-initialize existing session, or creates a new one.Called when a session starts or when session_sta...