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 JSessionStorageDatabase::gc


Garbage collect stale sessions from the SessionHandler backend.

Description:JSessionStorageDatabase::gc [Edit Descripton]

public function gc ($lifetime=1440)
Parameter Type Default Description
$lifetime integer 1440 The maximum age of a session.
  • Returns boolean True on success, false otherwise.
  • Defined on line 146 of libraries/joomla/session/storage/database.php
  • Since Joomla 11.1

See also

SeeAlso:JSessionStorageDatabase::gc [Edit See Also]

User contributed notes

<CodeExamplesForm />