Method HttpRequestMessage() :setCookie() Foundation
Sets the value of a cookie.
:setCookie( <cName>, <cValue> ) --> self
:setCookie( <oCookie> ) --> self
Name | Data Type | Description |
---|---|---|
name | C | Name of the cookie |
value | C | Value of the cookie |
:setCookie() returns the object executing the method.
The method :setCookie() sets the value of a cookie. If the specified cookie is not defined, it is added to the cookie list. If the cookies is defined more than once (multiple values), all occurances are removed except one which has its value changed to <cValue>.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.