OpenWGA 7.9 - TMLScript reference
CookieMethod :
setValue(value[, encode])
| On object | Cookie |
| Usage |
Sets the value of a cookie and optionally encodes it. |
| Description |
Since version 7.8.1 this method can be called with an optional encoder to encode the value Possible encoders currently are
|
| Parameters |
value (String) The value to be set encode (String - optional) - since 7.8.1 Encodes the value with the specified encoder |
| Return value | Since 7.8.1 this methods returns the Cookie object for further method chaining. |
| Allowed in script types |
|
| Examples |
WGA.Call.createCookie("my-cookie")
|