Class to manage the sessions.
It supports normal session (managed from PHP) or database ones. Session-ID can be as URL-parameter or as Cookie. See mymvc.php for configuration items
Located in /myMVC/HttpSession.php (line 30)
Destructor.
Saves the data in the session or the database, depending on the value of $config['SESSION_TYPE'] (see mymvc.php)
Delete an object from current namespace
Delete an object from the given namespace
Destroy the current Session (for example due to a logout) and starts a new one.
Empty a given namespace
Empty the current used namespace
Returns whether an object exists in the current namespace
Returns whether an object exists in the given namespace
Returns a previously saved object in the current namespace
Returns a previously saved object in the given namespace
Returns the current session ID
Returns if the current session is expired
Save an object in the current namespace
Save an object in the given namespace
Called from PHP if the script terminates with exit()
Starts a new session.
Lifetime in seconds and type (URL or Cookies) can be set in the configuration ($config['SESSION_LIFETIME'] and $config['SESSION_USECOOKIES']). Default are 8 hours for lifetime and URL for session
Set the namespace to use
Documentation generated on Wed, 09 Mar 2016 21:27:02 +0100 by phpDocumentor 1.4.4