SessionHandler::gc

public function SessionHandler::gc

public SessionHandler::gc($lifetime)

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

Overrides SessionHandlerInterface::gc

See also

http://php.net/sessionhandlerinterface.gc

File

core/l