Difference between revisions of "JSessionStorageWincache::gc"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (→See also: moving preparation) |
||
(4 intermediate revisions by 2 users 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> | ||
− | |||
<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 109 of libraries/joomla/session/storage/wincache.php |
− | |||
− | libraries/joomla/session/storage/wincache.php | ||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JSessionStorageWincache::gc source code''' on [[jplatform:session/storage/wincache.php#cl-101|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[API17:JSessionStorageWincache|JSessionStorageWincache]] | ||
+ | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Session|Session]] | ||
+ | * [[API17: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> | ||
− | + | ===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: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Revision as of 21:31, 11 May 2013
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.
JSessionStorageWincache::gc[edit]
Description[edit]
Garbage collect stale sessions from the SessionHandler backend.
Template: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[edit]
- JSessionStorageWincache::gc source code on BitBucket
- Class JSessionStorageWincache
- Subpackage Session
- Other versions of JSessionStorageWincache::gc
Template:SeeAlso:JSessionStorageWincache::gc [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />