Please wait while we load your page...


PHP Manual [The SessionUpdateTimestampHandlerInterface interface]

Protect Your Website Today

PHP Manual || Sessions

(PHP 7)

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.

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

PHP Manual || Sessions