API17

JSessionStorageNone::gc: Difference between revisions

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.  


{{subst:Description:JSessionStorageNone::gc}}
 


<source lang="php">
<source lang="php">
Line 30: Line 30:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Session|Session]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Session|Session]]
* [[API17:JSessionStorageNone::gc|Other versions of JSessionStorageNone::gc]]
* [[API17:JSessionStorageNone::gc|Other versions of JSessionStorageNone::gc]]
{{subst:SeeAlso:JSessionStorageNone::gc}}
 


===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JSessionStorageNone::gc
category=JSessionStorageNone::gc
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*

Latest revision as of 03:41, 25 March 2017

Joomla 11.1 JSessionStorageNone::gc

Description

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 Joomla 11.1

See also


User contributed notes

Code Examples