GetCookie - cWebApp

Reads a cookie key

Type: Function

Return Data Type: String

Parameters: String sName

ParameterDescription
sNameName of the cookie key


Return Value


Syntax
Function GetCookie String sName Returns String

Call: Get GetCookie sName to StringVariable


Description

GetCookie reads a cookie key using its name directly from the HTTP Header. Use SetCookie to update the cookie key.

Note that SetCookie is implemented as a client-action, which makes it asynchronous and GetCookie will not return the new value until the next call arrives.