Difference between revisions of "JSessionStorageWincache::gc"
From Joomla! Documentation
m (clean up) |
m (preparing for archive only) |
||
Line 4: | Line 4: | ||
Garbage collect stale sessions from the SessionHandler backend. | Garbage collect stale sessions from the SessionHandler backend. | ||
− | + | ||
<source lang="php"> | <source lang="php"> | ||
Line 29: | Line 29: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Session|Session]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Session|Session]] | ||
* [[API17:JSessionStorageWincache::gc|Other versions of JSessionStorageWincache::gc]] | * [[API17:JSessionStorageWincache::gc|Other versions of JSessionStorageWincache::gc]] | ||
− | + | ||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JSessionStorageWincache::gc | category=JSessionStorageWincache::gc | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* |
Latest revision as of 22:41, 24 March 2017
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.
JSessionStorageWincache::gc[edit]
Description[edit]
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 109 of libraries/joomla/session/storage/wincache.php
See also[edit]
- JSessionStorageWincache::gc source code on BitBucket
- Class JSessionStorageWincache
- Subpackage Session
- Other versions of JSessionStorageWincache::gc
User contributed notes[edit]
Code Examples[edit]