Actions

API17

Difference between revisions of "JSessionStorage::gc"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 10: Line 10:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JSessionStorage->gc ($maxlifetime=null)
+
public JSessionStorage::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.php
+
libraries/joomla/session/storage.php (line 156)
 +
* see source code in [[jplatform:session/storage.php#cl-156|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 21:12, 23 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 JSessionStorage::gc

Description

Garbage collect stale sessions from the SessionHandler backend.

Description:JSessionStorage::gc [Edit Descripton]

Synopsis

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

Returns

boolean True on success, false otherwise.

Defined in

libraries/joomla/session/storage.php (line 156)

Referenced by

See also

[Edit See Also]

SeeAlso:JSessionStorage::gc

Examples

<CodeExamplesForm />