Documentation

getCookie

null|string public
\Bitrix\Main\HttpRequest::getCookie(
  $name
);

Non-static method returns COOKIES parameters from the current request.

Similar to the method CMain::get_cookie in the old core.

Parameters

ParameterDescriptionVersion
$name

Example



© «Bitrix24», 2001-2024
Up