$_COOKIE

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
$_COOKIE
Summary

$_COOKIE is an array variable that contains the data for all cookies set in the visiting browser.

Introduced4.6.4
OSmac, windows, linux
Platformsserver
Example
put $_COOKIE into tCookiesArray
put $_COOKIE["user"] into tUser
if $_COOKIE["user"] is not empty then
  -- ... pre-populate user login Id ...
end if
RelatedCommand: put cookie
Keyword: $_GET_BINARY, $_SERVER, $_POST, $_POST_BINARY, $_GET, $_POST_RAW, $_GET_RAW
Description

Use the $_COOKIE keyword to access the array containing the data for cookies sent by the visiting browser, for the given URL.

$_COOKIE is only available when running in CGI mode (Server).

For more information on cookies and how to set them, see put cookie.