JSessionStorageNone: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
m preparing for archive only |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
=={{JVer|11.1}} JSessionStorageNone== | |||
===Description=== | |||
{{ | |||
=== | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
!Visibility | |||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
|[[JSessionStorageNone::register | |public | ||
|[[API17:JSessionStorageNone::close|close]] | |||
|Close the SessionHandler backend. | |||
|- | |||
|public | |||
|[[API17:JSessionStorageNone::destroy|destroy]] | |||
|Destroy the data for a particular session identifier in the SessionHandler backend. | |||
|- | |||
|public | |||
|[[API17:JSessionStorageNone::gc|gc]] | |||
|Garbage collect stale sessions from the SessionHandler backend. | |||
|- | |||
|public | |||
|[[API17:JSessionStorageNone::open|open]] | |||
|Open the SessionHandler backend. | |||
|- | |||
|public | |||
|[[API17:JSessionStorageNone::read|read]] | |||
|Read the data for a particular session identifier from the SessionHandler backend. | |||
|- | |||
|public | |||
|[[API17:JSessionStorageNone::register|register]] | |||
|Register the functions of this class with PHP's session handler. | |Register the functions of this class with PHP's session handler. | ||
|- | |||
|public | |||
|[[API17:JSessionStorageNone::write|write]] | |||
|Write session data to the SessionHandler backend. | |||
|- | |||
|public static | |||
|[[API17:JSessionStorageNone::test|test]] | |||
|Test to see if the SessionHandler is available. | |||
|- | |- | ||
|} | |} | ||
* '''Defined in''' libraries/joomla/session/storage/none.php | |||
* '''Extends''' [[API17:JSessionStorage|JSessionStorage]] | |||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.session.storage.none' );</source> | <source lang="php">jimport( 'joomla.session.storage.none' );</source> | ||
===See also=== | ===See also=== | ||
* [[ | * {{JVer|11.1}} '''JSessionStorageNone source code''' on [[jplatform:session/storage/none.php|BitBucket]] | ||
{{ | * {{JVer|11.1}} Subpackage [[API17:Subpackage Session|Session]] | ||
* [[API17:JSessionStorageNone|Other versions of JSessionStorageNone]] | |||
===Examples=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JSessionStorageNone | category=JSessionStorageNone | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude> | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 03:41, 25 March 2017
JSessionStorageNone
Description
Methods
| Visibility | Method name | Description |
|---|---|---|
| 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 | test | Test to see if the SessionHandler is available. |
- Defined in libraries/joomla/session/storage/none.php
- Extends JSessionStorage
Importing
jimport( 'joomla.session.storage.none' );
See also
JSessionStorageNone source code on BitBucket
Subpackage Session- Other versions of JSessionStorageNone
User contributed notes
Code Examples