null|string public
\Bitrix\Main\HttpRequest::getCookie(
$name
);
Returns the COOKIES parameter of the current request.
Parameters
ParameterDescriptionVersion
$name
Examples
|
null|string public \Bitrix\Main\HttpRequest::getCookie( $name ); Returns the COOKIES parameter of the current request. Parameters ParameterDescriptionVersion $name Examples |
|
|
|
|
|
Есть аналогичная функция getCookieRaw, возвращающая все куки без обработки, то есть с префиксом. Полезно, если нужно получить куку, у которой нет префикса.
|
||||
|
|
|
|||