(PHP 7, PHP 8)
SessionUpdateTimestampHandlerInterface::validateId — Validate ID
public SessionUpdateTimestampHandlerInterface::validateId(string $id): bool
Validates a given session ID. A session ID is valid, if a session with that ID already exists. This function is automatically executed when a session is to be started, a session ID is supplied and session.use_strict_mode is enabled.
idThe session ID.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/sessionupdatetimestamphandlerinterface.validateid.php