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.
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||