API15

JSessionStorageDatabase: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JSessionStorageDatab...
 
Doxiki (talk | contribs)
No edit summary
Line 30: Line 30:
|Garbage collect stale sessions from the SessionHandler backend.
|Garbage collect stale sessions from the SessionHandler backend.
|}
|}
===Importing===
===Importing===
<source lang="php">jimport( 'joomla.session.storage.database' );</source>
<source lang="php">jimport( 'joomla.session.storage.database' );</source>

Revision as of 17:30, 25 March 2010

[Edit Descripton] Template:Description:JSessionStorageDatabase

Defined in

libraries/joomla/session/storage/database.php

Methods

Method name Description
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.

Importing

jimport( 'joomla.session.storage.database' );

[Edit See Also] Template:SeeAlso:JSessionStorageDatabase

Examples

<CodeExamplesForm />