JSessionStorage
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JSessionStorage[edit]
Description[edit]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | __construct | Constructor. |
public | close | Close the SessionHandler backend. |
public | destroy | Destroy the data for a particular session identifier in the SessionHandler backend. |
public | gc | Garbage collect stale sessions from the SessionHandler backend. |
public | open | Open the SessionHandler backend. |
public | read | Read the data for a particular session identifier from the SessionHandler backend. |
public | register | Register the functions of this class with PHP's session handler. |
public | write | Write session data to the SessionHandler backend. |
public static | getInstance | Returns a session storage handler object, only creating it if it doesn't already exist. |
public static | test | Test to see if the SessionHandler is available. |
- Defined in libraries/joomla/session/storage.php
- Extends JObject
- Extended by
Importing[edit]
jimport( 'joomla.session.storage' );
See also[edit]
- JSessionStorage source code on BitBucket
- Subpackage Session
- Other versions of JSessionStorage
User contributed notes[edit]
Code Examples[edit]