Method HttpRequestMessage() :getCookie() Foundation

Gets a cookie given its name.

:getCookie( <cName> ) --> oCookie
A character string with the name of the cookie.

:getCookie() returns a DataObject representing the specified cookie. The data object has the members outlined in the following table.

Members of the DataObject returned by :getCookie()
Name Data Type Description
name C Name of the cookie
value C Value of the cookie


The method :getCookie() gets the specified cookie from the list of cookies defined for this request message. If the same cookie is defined several times (multiple cookie values), the first occurance in the cookie list is returned.


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.