JSessionStorage: Difference between revisions
From Joomla! Documentation
m moving preparation |
m clean up |
||
| Line 2: | Line 2: | ||
=={{JVer|11.1}} JSessionStorage== | =={{JVer|11.1}} JSessionStorage== | ||
===Description=== | ===Description=== | ||
{{Description:JSessionStorage}} | {{subst:Description:JSessionStorage}} | ||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
| Line 70: | Line 68: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage Session|Session]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage Session|Session]] | ||
* [[API17:JSessionStorage|Other versions of JSessionStorage]] | * [[API17:JSessionStorage|Other versions of JSessionStorage]] | ||
{{SeeAlso:JSessionStorage}} | {{subst:SeeAlso:JSessionStorage}} | ||
===User contributed notes=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
Revision as of 16:05, 24 March 2017
JSessionStorage
Description
{{subst:Description:JSessionStorage}}
Methods
| 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
jimport( 'joomla.session.storage' );
See also
JSessionStorage source code on BitBucket
Subpackage Session- Other versions of JSessionStorage
{{subst:SeeAlso:JSessionStorage}}
User contributed notes
<CodeExamplesForm />