API16

API16:JSessionStorage

From Joomla! Documentation

Revision as of 02:03, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Defined in

libraries/joomla/session/storage.php

Methods

Method name Description
__construct Constructor
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.
getInstance Returns a session storage handler object, only creating it if it doesn't already exist.
test Test to see if the SessionHandler is available.

Importing

jimport( 'joomla.session.storage' );



Examples

Code Examples