validateid
SessionUpdateTimestampHandlerInterface::validateId
Validate ID
ENTITY
public
bool
SessionUpdateTimestampHandlerInterface::validateId
string
id
Validates a given session ID. A session ID is valid, if a session with that ID already exists. This function is automatically executed when a session is to be started, a session ID is supplied and session.use_strict_mode is enabled.
ENTITY
id
The session ID.
ENTITY
Returns ENTITY for valid ID, ENTITY otherwise. Note that this value is returned internally to PHP for processing.
这篇文档对你有帮助吗?
谢谢你的反馈!