You are here

public function PdoSessionHandler::isSessionExpired in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/Session/Storage/Handler/PdoSessionHandler.php \Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler::isSessionExpired()

Returns true when the current session exists but expired according to session.gc_maxlifetime.

Can be used to distinguish between a new session and one that expired due to inactivity.

Return value

bool Whether current session expired

File

vendor/symfony/http-foundation/Session/Storage/Handler/PdoSessionHandler.php, line 255

Class

PdoSessionHandler
Session handler using a PDO connection to read and write data.

Namespace

Symfony\Component\HttpFoundation\Session\Storage\Handler

Code

public function isSessionExpired() {
  return $this->sessionExpired;
}