⚠️ The annual cost of maintaining the server where this website is hosted, the domain, and keeping it up-to-date is approximately €3,000 per year. Help us with a small donation to cover these expenses. Support Now!

0 / 10000
dw.web
Class Cookies
Object
dw.web.Cookies
The class provides an index and associative array like access to the Cookies of the current request. Cookies can be retrieved by calling dw.system.Request.getHttpCookies().

Note: this class allows access to sensitive security-related data. Pay special attention to PCI DSS v3. requirements 2, 4, and 12.

See Request.getHttpCookies().

Properties
cookieCount  :  Number  (Read Only)
The number of known cookies.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getCookieCount() : Number
Returns the number of known cookies.
Method Detail
getCookieCount
getCookieCount() : Number
Returns the number of known cookies.
Returns:
the number of cookies