(PHP 7)

SessionUpdateTimestampHandlerInterface::validateIdValidate ID


abstract public SessionUpdateTimestampHandlerInterface::validateId ( string $key ) : 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.

Elenco dei parametri


The session ID.

Valori restituiti

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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top