OpenWGA 7.10 - TMLScript reference

Cookie
Method :

setSameSite(value)

On object Cookie
Usage Sets the sameSite property of the cookie.
Description This method as been introduced in 7.8.1
Parameters

value (String)

The value to be set.

Return value This methods returns the Cookie object for further method chaining.
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • Content type events
Examples
WGA.Call.createCookie("my-cookie")
.setSameSite("Strict") // default
.write()