API17

Difference between revisions of "JSessionStorageWincache::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.  
  
{{Description:JSessionStorageWincache::gc}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JSessionStorageWincache::gc|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<source lang="php">
 
<source lang="php">
 
public function gc ($maxlifetime=null)
 
public function gc ($maxlifetime=null)
Line 28: Line 26:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JSessionStorageWincache::gc source code''' on [[jplatform:session/storage/wincache.php#cl-101|BitBucket]]
 
* {{JVer|11.1}} '''JSessionStorageWincache::gc source code''' on [[jplatform:session/storage/wincache.php#cl-101|BitBucket]]
* {{JVer|11.1}} Class [[JSessionStorageWincache/11.1|JSessionStorageWincache]]
+
* {{JVer|11.1}} Class [[API17:JSessionStorageWincache|JSessionStorageWincache]]
* {{JVer|11.1}} Subpackage [[Subpackage_Session/11.1|Session]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Session|Session]]
* [[JSessionStorageWincache::gc|Other versions of JSessionStorageWincache::gc]]
+
* [[API17:JSessionStorageWincache::gc|Other versions of JSessionStorageWincache::gc]]
{{SeeAlso:JSessionStorageWincache::gc}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JSessionStorageWincache::gc|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===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=*
Line 46: Line 42:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JSessionStorageWincache]][[Category:JSessionStorageWincache::gc]]</noinclude>
+
<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.

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]