You are here

public function SessionHandlerInterface::gc in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Resources/stubs/SessionHandlerInterface.php \SessionHandlerInterface::gc()

Cleans up expired sessions (garbage collection).

Parameters

string|int $maxlifetime Sessions that have not updated for the last maxlifetime seconds will be removed:

Return value

bool true on success, false on failure

See also

http://php.net/sessionhandlerinterface.gc

File

vendor/symfony/http-foundation/Resources/stubs/SessionHandlerInterface.php, line 101

Class

SessionHandlerInterface
SessionHandlerInterface for PHP < 5.4.

Code

public function gc($maxlifetime);