Salesforce B2C Commerce 23.5 > B2C Commerce API > B2C Commerce Script > dw.web
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.
Methods inherited from class Object
Method Detail
getCookieCount
getCookieCount() : Number
Returns the number of known cookies.
Returns:
the number of cookies

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.