OpenWGA 7.9 - TMLScript reference
CookieMethod :
getValue([decode])
On object | Cookie |
Usage |
Gets the value of a cookie and optionally decodes it. |
Description |
Since version 7.8.1 this method can be called with an optional decoder to decode the value Possible decoders currently are
|
Parameters |
decode (String - optional) Decodes the value with the specified decoder |
Return value | The (decoded) value of the cookie |
Allowed in script types |
|
Examples |
let cookie = WGA.Call.getCookie("my-cookie"); |