API17

Difference between revisions of "JSessionStorageXcache::gc"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 10: Line 10:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JSessionStorageXcache->gc ($maxlifetime=null)
+
public JSessionStorageXcache::gc ($maxlifetime=null)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 28: Line 28:
 
boolean True on success, false otherwise.
 
boolean True on success, false otherwise.
 
===Defined in===
 
===Defined in===
libraries/joomla/session/storage/xcache.php
+
libraries/joomla/session/storage/xcache.php (line 121)
 +
* see source code in [[jplatform:session/storage/xcache.php#cl-121|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 21:15, 23 April 2011

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 JSessionStorageXcache::gc[edit]

Description[edit]

Garbage collect stale sessions from the SessionHandler backend.

Template:Description:JSessionStorageXcache::gc [Edit Descripton]

Synopsis[edit]

public JSessionStorageXcache::gc ($maxlifetime=null)
Parameter Type Default Description
$maxlifetime integer null The maximum age of a session.

Returns[edit]

boolean True on success, false otherwise.

Defined in[edit]

libraries/joomla/session/storage/xcache.php (line 121)

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JSessionStorageXcache::gc

Examples[edit]

<CodeExamplesForm />