SessionUpdateTimestampHandlerInterface::validateId

(PHP 7)

SessionUpdateTimestampHandlerInterface::validateIdValider l'ID

Description

abstract public SessionUpdateTimestampHandlerInterface::validateId ( string $key ) : bool

Avertissement

Cette fonction est actuellement non documentée ; seule la liste des arguments est disponible.

Liste de paramètres

key

Valeurs de retour

Retourne TRUE pour un ID valide, FALSE sinon.

add a note add a note

User Contributed Notes 1 note

up
0
ohcc at 163 dot com
2 months ago
'validateId' is called after 'open' and before 'read' to validate the session id provided by the client, as 'open' -> 'validateId' -> 'read' -> 'write' -> 'close' are called in sequence.

If 'validateId' returns false, a new session id will be generated, the session cookie will also be updated afterwards.
To Top