Documentation

lock

boolean public static
\Bitrix\Security\SessionTable::lock(
 string $id,
 integer $timeout = 60
);

Static method lock a specific session iD. Presently supports Mysql, MSSQL and Oracle.

Parameters

ParameterDescriptionVersion
$idSession ID.
$timeoutLockout time.

Example



© «Bitrix24», 2001-2024
Up