JSessionStorageDatabase::gc
From Joomla! Documentation
Revision as of 17:10, 11 May 2013 by JoomlaWikiBot (talk | contribs) (→User contributed notes: moving preparation)
Revision as of 17:10, 11 May 2013 by JoomlaWikiBot (talk | contribs) (→User contributed notes: moving preparation)
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JSessionStorageDatabase::gc[edit]
Description[edit]
Garbage collect stale sessions from the SessionHandler backend.
Template:Description:JSessionStorageDatabase::gc [Edit Descripton]
public function gc ($lifetime=1440)
Parameter | Type | Default | Description |
---|---|---|---|
$lifetime | integer | 1440 | The maximum age of a session. |
- Returns boolean True on success, false otherwise.
- Defined on line 146 of libraries/joomla/session/storage/database.php
- Since
See also[edit]
- JSessionStorageDatabase::gc source code on BitBucket
- Class JSessionStorageDatabase
- Subpackage Session
- Other versions of JSessionStorageDatabase::gc
Template:SeeAlso:JSessionStorageDatabase::gc [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />