API17

JSessionStorageApc::gc

From Joomla! Documentation

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.

Joomla 11.1 JSessionStorageApc::gc[edit]

Description[edit]

Garbage collect stale sessions from the SessionHandler backend.


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/apc.php

See also[edit]


User contributed notes[edit]

Code Examples[edit]