Classes

Method HttpRequestMessage() :getCookies() Foundation

Gets all cookies.

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

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

Description

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.

Feedback

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.