Actions

API17

Difference between revisions of "JSessionStorageWincache::gc"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JSessionStorageWincache::gc|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JSessionStorageWincache::gc|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JSessionStorageWincache->gc ($maxlifetime=null)
+
public function gc ($maxlifetime=null)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 22: Line 21:
 
|integer
 
|integer
 
|null
 
|null
|The maximum age of a session.  
+
|The maximum age of a session.
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean True on success, false otherwise.
boolean True on success, false otherwise.
+
* '''Defined''' on line 109 of libraries/joomla/session/storage/wincache.php
===Defined in===
+
libraries/joomla/session/storage/wincache.php
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{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}} Subpackage [[Subpackage_Session/11.1|Session]]
 +
* [[JSessionStorageWincache::gc|Other versions of JSessionStorageWincache::gc]]
 +
{{SeeAlso:JSessionStorageWincache::gc}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JSessionStorageWincache::gc|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JSessionStorageWincache::gc|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JSessionStorageWincache/11.1|JSessionStorageWincache]]
+
===User contributed notes===
* [[JSessionStorageWincache::gc|Other versions of this method]]
+
{{SeeAlso:JSessionStorageWincache::gc}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 45: Line 43:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JSessionStorageWincache]][[Category:JSessionStorageWincache::gc]]</noinclude>
 
<noinclude>[[Category:JSessionStorageWincache]][[Category:JSessionStorageWincache::gc]]</noinclude>

Revision as of 21:39, 27 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JSessionStorageWincache::gc

Description

Garbage collect stale sessions from the SessionHandler backend.

Description:JSessionStorageWincache::gc [Edit Descripton]

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

SeeAlso:JSessionStorageWincache::gc [Edit See Also]

User contributed notes

<CodeExamplesForm />