SessionUpdateTimestampHandlerInterface::updateTimestamp
(PHP 7, PHP 8)
Update timestamp
Description
Updates the last modification timestamp of the session. This function is automatically executed when a session is updated.
Parameters
idThe session ID.
dataThe session data. The serialized session data may be used to determine whether the session data has changed and therefore should be updated.
Return Values
Returns true if the timestamp was updated, false otherwise. Note that this value is returned internally to PHP for processing.