API17:JSessionStorageEaccelerator::gc
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user not shown) | |||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JSessionStorageEaccelerator::gc|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JSessionStorageEaccelerator::gc|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | 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''' boolean True on success, false otherwise. | |
| − | boolean True on success, false otherwise. | + | * '''Defined''' on line 108 of libraries/joomla/session/storage/eaccelerator.php |
| − | + | ||
| − | libraries/joomla/session/storage/eaccelerator.php | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JSessionStorageEaccelerator::gc source code''' on [[jplatform:session/storage/eaccelerator.php#cl-100|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JSessionStorageEaccelerator/11.1|JSessionStorageEaccelerator]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Session/11.1|Session]] | ||
| + | * [[JSessionStorageEaccelerator::gc|Other versions of JSessionStorageEaccelerator::gc]] | ||
| + | {{SeeAlso:JSessionStorageEaccelerator::gc}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JSessionStorageEaccelerator::gc|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JSessionStorageEaccelerator::gc|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 45: | Line 43: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JSessionStorageEaccelerator]][[Category:JSessionStorageEaccelerator::gc]]</noinclude> | <noinclude>[[Category:JSessionStorageEaccelerator]][[Category:JSessionStorageEaccelerator::gc]]</noinclude> | ||
Revision as of 21:38, 27 April 2011
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.
JSessionStorageEaccelerator::gc
Description
Garbage collect stale sessions from the SessionHandler backend.
Description:JSessionStorageEaccelerator::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 108 of libraries/joomla/session/storage/eaccelerator.php
See also
-
JSessionStorageEaccelerator::gc source code on BitBucket
-
Class JSessionStorageEaccelerator
-
Subpackage Session
- Other versions of JSessionStorageEaccelerator::gc
SeeAlso:JSessionStorageEaccelerator::gc [Edit See Also]
User contributed notes
<CodeExamplesForm />
