get_cookie_for_url
get_cookie_for_url($url,$name,$as_json=false); - get http cookies for the specified page
The function accepts parameters as input:
$url – address of the page to get the cookie for$name – name of the received cookie, if "" - get all cookies $as_json - receive cookies in json format. Since Studio 7.0.43.
After testing, the function returns the result of its work to the script :
cookie – the specified cookie
"" – an empty string - there is no such cookie for this page