31 public function getID();
39 public function get($key, $default=
null);
46 public function set($key, $value);
52 public function remove($key);
59 public function exist($key);
64 public function clear();
Session is the interface for session implementations and defines access to session variables.
getAuthUser()
Get the login of the authenticated user.
getID()
Get the id of the session.
exist($key)
Tests, if a certain session variable is defined.
destroy()
Destroy the session.
setAuthUser($login)
Set the login of authenticated user.
clear()
Clear the session data.
isStarted()
Check if the session is started.