OpenWGA 7.9 - TMLScript reference

Cookie
Method :

write()

On object Cookie
Usage Writes the cookie to the HTTP Header of the current HTTP-Response object.
Description This method as been introduced in 7.8.1
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • Content type events
Examples
WGA.Call.createCookie("my-cookie")
.setValue("some-value")
.write()