Method HttpRequestMessage() :getCookies() Foundation

Gets all cookies.

:getCookies( [<cName>] ) --> aCookies
An optional character string with the name of the cookie to get. By default, :getCookies() returns all cookies defined in the cookie list.

:getCookies() returns an array of DataObjects which represent the cookies. See the return value of the method :getCookie()for a description of the members defined in the data objects.


The method :getCookies() gets the cookies currently defined for this request message. If a cookie name is passed in the <cName> parameter, only the specified cookie 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.