API17:JSessionStorageEaccelerator::gc
From Joomla! Documentation
JSessionStorageEaccelerator::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 108 of libraries/joomla/session/storage/eaccelerator.php
See also
JSessionStorageEaccelerator::gc source code on BitBucket
Class JSessionStorageEaccelerator
Subpackage Session- Other versions of JSessionStorageEaccelerator::gc
User contributed notes
Code Examples