SessionHandler::validateIdValidate a session ID 説明
public bool SessionHandler::validateId(string
$id)Validates a given session ID by delegating to the internal save handler. A session ID is valid if a session with that ID already exists. This method is called when a session is started with a supplied session ID and session.use_strict_mode is enabled. パラメータ
戻り値
Returns エラー / 例外Throws an Error if the session is not active, or if there is no default session handler to call.
If the parent save handler is not open, for example because a subclass
overrides SessionHandler::open without calling
the parent method, an 参考
|