public WriteSafeSessionHandler::gc($max_lifetime)
Cleans up expired sessions (garbage collection).
string|int $maxlifetime Sessions that have not updated for the last maxlifetime seconds will be removed:
bool true on success, false on failure
Overrides SessionHandlerInterface::gc
http://php.net/sessionhandlerinterface.gc
public function gc($max_lifetime) { return $this->wrappedSessionHandler->gc($max_lifetime); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Session!WriteSafeSessionHandler.php/function/WriteSafeSessionHandler::gc/8.1.x