API16:JSessionStorageXcache/gc
From Joomla! Documentation
Description
Garbage collect stale sessions from the SessionHandler backend.
{{subst:Description:JSessionStorageXcache/gc}}
Syntax
gc($maxlifetime)
| Parameter Name | Default Value | Description |
|---|---|---|
| $maxlifetime | $maxlifetime The maximum age of a session. |
Returns
boolean True on success, false otherwise.
Defined in
libraries/joomla/session/storage/xcache.php
Importing
jimport( 'joomla.session.storage.xcache' );
Source Body
function gc($maxlifetime)
{
return true;
}
{{subst:SeeAlso:JSessionStorageXcache/gc}}
Examples
<CodeExamplesForm />