API17

JSessionStorage: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
Doxiki2 (talk | contribs)
Layout updates
Line 6: Line 6:
===Defined in===
===Defined in===
libraries/joomla/session/storage.php
libraries/joomla/session/storage.php
* see source code in [[jplatform:session/storage.php|BitBucket]]
===Subpackage===
===Subpackage===
[[Subpackage Session/11.1|Session]]
[[Subpackage Session/11.1|Session]]
Line 58: Line 59:
<source lang="php">jimport( 'joomla.session.storage' );</source>
<source lang="php">jimport( 'joomla.session.storage' );</source>
===See also===
===See also===
* JSessionStorage source code in [[jplatform:session/storage.php|BitBucket]]
* [[JSessionStorage|Other versions of this class]]
* [[JSessionStorage|Other versions of this class]]
{{SeeAlso:JSessionStorage}}
{{SeeAlso:JSessionStorage}}

Revision as of 23:01, 23 April 2011

[Edit Descripton] Template:Description:JSessionStorage

Defined in

libraries/joomla/session/storage.php

Subpackage

Session

Extends

JObject

Extended by

Methods

Method name Description
__construct Constructor.
close Close 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.
open Open the SessionHandler backend.
read Read the data for a particular session identifier from the SessionHandler backend.
register Register the functions of this class with PHP's session handler.
write Write session data to 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' );

See also

Template:SeeAlso:JSessionStorage [Edit See Also]

Examples

<CodeExamplesForm />