SessionUpdateTimestampHandlerInterface::updateTimestamp
(PHP 7, PHP 8)
SessionUpdateTimestampHandlerInterface::updateTimestamp — Update timestamp
Description
public function SessionUpdateTimestampHandlerInterface::updateTimestamp(string
$id, string $data): boolUpdates 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. The serialized session data may be used to determine whether the session data has changed and therefore should be updated.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
