User Tools

Site Tools


en:objects:browser:cookies:get_cookie

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:objects:browser:cookies:get_cookie [2020/10/13 20:15]
sales created
en:objects:browser:cookies:get_cookie [2026/08/05 22:32] (current)
Line 1: Line 1:
-<html><h2>get_cookie</h2> <strong>get_cookie();</strong> - get http cookies for the current page<br><br>After processing, the function returns the result of its work to the script : <br><li><font color=blue>cookies</font> – a string with all cookies, each cookie is separated ";" another<br><li><font color=blue>""</font> – an empty string - there are no cookies for this page<br><br></html>+<html><h2>get_cookie</h2> <strong>get_cookie($as_json=false);</strong> - get http cookies for the current page<br><br>The function accepts parameters as input:<br><br><li> <font color = green> $as_json </font> - receive cookies in json format. Since Studio 7.0.43.<br><br>After processing, the function returns the result of its work to the script : <br><li><font color=blue>cookies</font> – a string with all cookies, each cookie is separated ";" another<br><li><font color=blue>""</font> – an empty string - there are no cookies for this page<br><br></html>
  
 PHP example: <code php><?php $xhe_host = "127.0.0.1:7013"; PHP example: <code php><?php $xhe_host = "127.0.0.1:7013";
en/objects/browser/cookies/get_cookie.1602609353.txt.gz · Last modified: 2020/10/13 20:15 by sales