PHP 7.4.9 Released!

The SessionUpdateTimestampHandlerInterface interface

(PHP 7)

Einführung

SessionUpdateTimestampHandlerInterface is an interface which defines optional methods for creating a custom session handler. In order to pass a custom session handler to session_set_save_handler() using its OOP invocation, the class can implement this interface.

Note that the callback methods of classes implementing this interface are designed to be called internally by PHP and are not meant to be called from user-space code.

Klassenbeschreibung

SessionUpdateTimestampHandlerInterface {
/* Methoden */
abstract public updateTimestamp ( string $key , string $val ) : bool
abstract public validateId ( string $key ) : bool
}

Inhaltsverzeichnis

add a note add a note

User Contributed Notes 1 note

up
3
Anonymous
8 months ago
There is a bit of documentation provided by Wu Xiancheng. See his comment in the SessionHandlerInterface section:
https://www.php.net/manual/en/class.sessionhandlerinterface.php#122032
To Top