Php/docs/sessionupdatetimestamphandlerinterface.updatetimestamp

From Get docs

SessionUpdateTimestampHandlerInterface::updateTimestamp

(PHP 7)

SessionUpdateTimestampHandlerInterface::updateTimestampUpdate timestamp


Description

abstract public SessionUpdateTimestampHandlerInterface::updateTimestamp ( string $id , string $data ) : bool

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


Parameters

id
The session ID.
data
The session data.


Return Values

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