Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<SessionUpdateTimestampHandlerInterface::updateTimestampText Processing>
^SessionUpdateTimestampHandlerInterfaceLast updated: Mon, 26 Oct 2026

SessionUpdateTimestampHandlerInterface::validateId

(PHP 7, PHP 8)

SessionUpdateTimestampHandlerInterface::validateId — Validate ID

Description

public function 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.

Parameters

id

The session ID.

Return Values

Returns true for valid ID, false otherwise. Note that this value is returned internally to PHP for processing.


<SessionUpdateTimestampHandlerInterface::updateTimestampText Processing>
^SessionUpdateTimestampHandlerInterfaceLast updated: Mon, 26 Oct 2026