protected function autoExpire()
{
$lastActivitySecondsAgo = $this->now - $this->lastActivityTimestamp;
$expired = false;
if ($this->inactivityTimeout !== 0 && $lastActivitySecondsAgo > $this->inactivityTimeout) {
$this->started = true;
$this->sessionIdentifier = $this->sessionCookie->getValue();
$this->destroy(sprintf('Session %s was inactive for %s seconds, more than the configured timeout of %s seconds.', $this->sessionIdentifier, $lastActivitySecondsAgo, $this->inactivityTimeout));
$expired = true;
}
return $expired;
}