Elgg  Version 1.10
SessionHandler.php
Go to the documentation of this file.
1 <?php
2 namespace Elgg\Http;
3 
14 interface SessionHandler {
15 
24  public function open($save_path, $name);
25 
32  public function read($session_id);
33 
41  public function write($session_id, $session_data);
42 
48  public function close();
49 
56  public function destroy($session_id);
57 
64  public function gc($max_lifetime);
65 }
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
Definition: delete.php:21
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.