OpenWGA 7.10 - TMLScript referenceWGA » WGA.Call
Creates a new HTTP cookie, which is not yet assigned to the HTTP-Response object.
Creates a new completely initialized HTTP Cookie, which is not yet assigned to the HTTP response.
In versions < 7.8.1 use addCookie() to send the cookie. From version 7.8.1 on we advice to send the cookie via Cookie.write().
The cookie is initialized with path (the OpenWGA context path), type/maxage (transient), domain (either request host or host from configured server base url) and security flag (true if the current call is HTTPS).
The name of the cookie
value (String - optional)
The value of the cookie
The created Cookie object
|Allowed in script types||