API17

JSessionStorage::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:JSessionStorage::gc}}
 


<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:JSessionStorage::gc|Other versions of JSessionStorage::gc]]
* [[API17:JSessionStorage::gc|Other versions of JSessionStorage::gc]]
{{subst:SeeAlso:JSessionStorage::gc}}
 


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

Latest revision as of 03:39, 25 March 2017

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


User contributed notes

Code Examples