Actions

API15

Difference between revisions of "JSessionStorage"

From Joomla! Documentation

(New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JSessionStorage}} ===Defi...)
 
 
Line 42: Line 42:
 
|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' );</source>
 
<source lang="php">jimport( 'joomla.session.storage' );</source>

Latest revision as of 12:28, 25 March 2010

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

[Edit Descripton] Description:JSessionStorage

Contents

Defined in

libraries/joomla/session/storage.php

Methods

Method name Description
__construct Constructor
getInstance Returns a reference to a session storage handler object, only creating it if it doesn't already exist.
register Register the functions of this class with PHP's session handler
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' );

[Edit See Also] SeeAlso:JSessionStorage

Examples

<CodeExamplesForm />