protected function autoExpire()
{
$lastActivitySecondsAgo = time() - $this->getLastActivityTimestamp();
$expired = false;
if ($this->getMaximumAge() !== 0 && $lastActivitySecondsAgo > $this->getMaximumAge()) {
$this->destroy(sprintf('Session %s was inactive for %s seconds, more than the configured timeout of %s seconds.', $this->getId(), $lastActivitySecondsAgo, $this->getMaximumAge()));
$expired = true;
}
return $expired;
}