JSessionStorageDatabase: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 1: | Line 1: | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/session/storage/database.php | libraries/joomla/session/storage/database.php | ||
| Line 32: | Line 30: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JSessionStorageDatabase | category=JSessionStorageDatabase | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
Latest revision as of 01:07, 25 March 2017
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' );
Examples
Code Examples