Implements interfaces:
Class for managing HTTP sessions
Provides access to session-state values as well as session-level settings and lifetime management methods. Based on the standard PHP session handling mechanism it provides more advanced features such as expire timeouts.
Located in /libraries/joomla/session/session.php (line 24)
The type of storage for the session.
Maximum age of unused session in minutes
Force cookies to be SSL only Default false
Security policy.
List of checks that will be done.
Default values:
Internal state.
One of 'inactive'|'active'|'expired'|'destroyed'|'error'
The session store object.
Checks for a form token in the request.
Use in conjunction with JHtml::_('form.token') or JSession::getFormToken.
Method to determine a hash for anti-spoofing variable names
Returns the global Session object, only creating it if it doesn't already exist.
Constructor
Unset data from the session store
Writes session data and ends session
Session data is usually stored after your script terminated without the need to call JSession::close(), but as session data is locked to prevent concurrent writes only one script may operate on a session at any time. When using framesets together with sessions you will experience the frames loading one by one due to this locking. You can reduce the time needed to load all the frames by ending the session as soon as all changes to session variables are done.
Frees all session variables and destroys all data registered to a session
This method resets the $_SESSION variable and destroys all of the data associated with the current session in its storage (file or DB). It forces new session to be started after this method is called. It does not unset the session cookie.
Get data from the session store
Retrieve an external iterator.
Get a session token, if a token isn't set yet one will be generated.
Tokens are used to secure forms from spamming attacks. Once a token has been generated the system will check the post request to see if it is present, if not it will invalidate the session.
Check whether data exists in the session store
Method to determine if a token exists in the session. If not the session will be set to expired
Check whether this session is currently created
Set data into the session store.
Create a token-string
Set additional session options
Start a session.
Creates a session (or resumes the current one based on the state of the session)
Do some checks for security reason
Magic method to get read-only access to properties.
Documentation generated on Tue, 19 Nov 2013 15:12:52 +0100 by phpDocumentor 1.4.3