API17:JSessionStorage::gc
From Joomla! Documentation
JSessionStorage::gc
Description
Garbage collect stale sessions from the SessionHandler backend.
public function gc ($maxlifetime=null)
Parameter | Type | Default | Description |
---|---|---|---|
$maxlifetime | integer | null | The maximum age of a session. |
- Returns boolean True on success, false otherwise.
- Defined on line 141 of libraries/joomla/session/storage.php
See also
JSessionStorage::gc source code on BitBucket
Class JSessionStorage
Subpackage Session
- Other versions of JSessionStorage::gc
User contributed notes
Code Examples