(PHP 7, PHP 8)
SessionUpdateTimestampHandlerInterface::updateTimestamp — Update timestamp
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.
idThe session ID.
dataThe session data.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/sessionupdatetimestamphandlerinterface.updatetimestamp.php