GetCookie - cBaseWebComponent

Reads a cookie key

Type: Function

Return Data Type: String

Parameters: String sName

sNameName of the cookie key

Return Value

Function GetCookie String sName Returns String

Call: Get GetCookie sName to StringVariable


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.