SessionUpdateTimestampHandlerInterface::updateTimestamp

(PHP 7)

SessionUpdateTimestampHandlerInterface::updateTimestampUpdate timestamp

Descripción

abstract public SessionUpdateTimestampHandlerInterface::updateTimestamp ( string $key , string $val ) : bool

Updates the last modification timestamp of the session. This function is automatically executed when a session is updated.

Parámetros

key

The session ID.

val

The session data.

Valores devueltos

Returns TRUE if the timestamp was updated, FALSE otherwise. Note that this value is returned internally to PHP for processing.