updatetimestamp
SessionUpdateTimestampHandlerInterface::updateTimestamp
Update timestamp
ENTITY
public
bool
SessionUpdateTimestampHandlerInterface::updateTimestamp
string
id
string
data
Updates the last modification timestamp of the session. This function is automatically executed when a session is updated.
ENTITY
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.
ENTITY
Returns ENTITY if the timestamp was updated, ENTITY otherwise. Note that this value is returned internally to PHP for processing.
这篇文档对你有帮助吗?
谢谢你的反馈!