function AbstractSessionHandler::validateId
1 method overrides AbstractSessionHandler::validateId()
- NullSessionHandler::validateId in vendor/
symfony/ http-foundation/ Session/ Storage/ Handler/ NullSessionHandler.php
File
-
vendor/
symfony/ http-foundation/ Session/ Storage/ Handler/ AbstractSessionHandler.php, line 47
Class
- AbstractSessionHandler
- This abstract session handler provides a generic implementation of the PHP 7.0 SessionUpdateTimestampHandlerInterface, enabling strict and lazy session handling.
Namespace
Symfony\Component\HttpFoundation\Session\Storage\HandlerCode
public function validateId(string $sessionId) : bool {
$this->prefetchData = $this->read($sessionId);
$this->prefetchId = $sessionId;
return '' !== $this->prefetchData;
}