API15

Difference between revisions of "JSessionStorageApc/gc"

From Joomla! Documentation

< API15:JSessionStorageApc
(New page: ===Description=== Garbage collect stale sessions from the SessionHandler backend. <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>[[Description:JSessionStorageApc/...)
 
m (removing red link to edit, no existant pages)
Line 3: Line 3:
  
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JSessionStorageApc/gc|Edit Descripton]]<nowiki>]</nowiki>
+
<nowiki>[<! removed edit link to red link >]</nowiki>
 
</span>
 
</span>
  
{{Description:JSessionStorageApc/gc}}
+
<! removed transcluded page call, red link never existed >
  
 
===Syntax===
 
===Syntax===
Line 39: Line 39:
  
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[SeeAlso:JSessionStorageApc/gc|Edit See Also]]<nowiki>]</nowiki>
+
<nowiki>[<! removed edit link to red link >]</nowiki>
 
</span>
 
</span>
{{SeeAlso:JSessionStorageApc/gc}}
+
<! removed transcluded page call, red link never existed >
  
 
===Examples===
 
===Examples===
Line 54: Line 54:
 
  format= ,,,
 
  format= ,,,
 
</dpl>
 
</dpl>
 +
[[Category:Archived pages API15]]

Revision as of 13:47, 12 May 2013

The "API15" 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.

Description[edit]

Garbage collect stale sessions from the SessionHandler backend.

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

Syntax[edit]

gc($maxlifetime)
Parameter Name Default Value Description
$maxlifetime $maxlifetime The maximum age of a session.

Returns[edit]

boolean True on success, false otherwise.

Defined in[edit]

libraries/joomla/session/storage/apc.php

Importing[edit]

jimport( 'joomla.session.storage.apc' );

Source Body[edit]

function gc($maxlifetime)
{
        return true;
}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples[edit]

<CodeExamplesForm />