Difference between revisions of "JSessionStorageNone::gc"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
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"> | ||
public function gc ($lifetime=1440) | public function gc ($lifetime=1440) | ||
Line 29: | Line 27: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JSessionStorageNone::gc source code''' on [[jplatform:session/storage/none.php#cl-97|BitBucket]] | * {{JVer|11.1}} '''JSessionStorageNone::gc source code''' on [[jplatform:session/storage/none.php#cl-97|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JSessionStorageNone | + | * {{JVer|11.1}} Class [[API17:JSessionStorageNone|JSessionStorageNone]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Session | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Session|Session]] |
− | * [[JSessionStorageNone::gc|Other versions of JSessionStorageNone::gc]] | + | * [[API17:JSessionStorageNone::gc|Other versions of JSessionStorageNone::gc]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JSessionStorageNone::gc | category=JSessionStorageNone::gc | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 47: | Line 43: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
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.
JSessionStorageNone::gc[edit]
Description[edit]
Garbage collect stale sessions from the SessionHandler backend.
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 105 of libraries/joomla/session/storage/none.php
- Since
See also[edit]
- JSessionStorageNone::gc source code on BitBucket
- Class JSessionStorageNone
- Subpackage Session
- Other versions of JSessionStorageNone::gc
User contributed notes[edit]
Code Examples[edit]