JSessionStorageApc: Difference between revisions
From Joomla! Documentation
New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JSessionStorageApc}}
=... |
m preparing for archive only |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/session/storage/apc.php | libraries/joomla/session/storage/apc.php | ||
| Line 36: | Line 31: | ||
|Test to see if the SessionHandler is available. | |Test to see if the SessionHandler is available. | ||
|} | |} | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.session.storage.apc' );</source> | <source lang="php">jimport( 'joomla.session.storage.apc' );</source> | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JSessionStorageApc | category=JSessionStorageApc | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
Latest revision as of 02:04, 25 March 2017
Defined in
libraries/joomla/session/storage/apc.php
Methods
| Method name | Description |
|---|---|
| __construct | Constructor |
| open | Open the SessionHandler backend. |
| close | Close the SessionHandler backend. |
| read | Read the data for a particular session identifier from the SessionHandler backend. |
| write | Write session data to the SessionHandler backend. |
| destroy | Destroy the data for a particular session identifier in the SessionHandler backend. |
| gc | Garbage collect stale sessions from the SessionHandler backend. |
| test | Test to see if the SessionHandler is available. |
Importing
jimport( 'joomla.session.storage.apc' );
Examples
Code Examples