OpenWGA 7.9 - TMLScript reference
CookieMethod :
setMaxAge(seconds)
| On object | Cookie |
| Usage |
Sets the max age property of the cookie in seconds. |
| Parameters |
seconds (Number) The max age value to be set in seconds |
| 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")
|