API17

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.  
  
{{subst:Description:JSessionStorageWincache::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:JSessionStorageWincache::gc|Other versions of JSessionStorageWincache::gc]]
 
* [[API17:JSessionStorageWincache::gc|Other versions of JSessionStorageWincache::gc]]
{{subst:SeeAlso:JSessionStorageWincache::gc}}
+
 
  
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JSessionStorageWincache::gc
 
category=JSessionStorageWincache::gc
category=CodeExample
+
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.

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


User contributed notes[edit]

Code Examples[edit]