API17

Difference between revisions of "JSessionStorageApc::gc"

From Joomla! Documentation

m (→‎See also: moving preparation)
m (clean up)
Line 4: Line 4:
 
Garbage collect stale sessions from the SessionHandler backend.  
 
Garbage collect stale sessions from the SessionHandler backend.  
  
{{Description:JSessionStorageApc::gc}}
+
{{subst:Description:JSessionStorageApc::gc}}
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JSessionStorageApc::gc|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<source lang="php">
 
<source lang="php">
 
public function gc ($maxlifetime=null)
 
public function gc ($maxlifetime=null)
Line 31: Line 29:
 
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Session|Session]]
 
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Session|Session]]
 
* [[API17:JSessionStorageApc::gc|Other versions of JSessionStorageApc::gc]]
 
* [[API17:JSessionStorageApc::gc|Other versions of JSessionStorageApc::gc]]
{{SeeAlso:JSessionStorageApc::gc}}
+
{{subst:SeeAlso:JSessionStorageApc::gc}}
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JSessionStorageApc::gc|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />

Revision as of 11:05, 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 JSessionStorageApc::gc[edit]

Description[edit]

Garbage collect stale sessions from the SessionHandler backend.

{{subst:Description:JSessionStorageApc::gc}}

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 108 of libraries/joomla/session/storage/apc.php

See also[edit]

{{subst:SeeAlso:JSessionStorageApc::gc}}

User contributed notes[edit]

<CodeExamplesForm />