Cookie Class Methods

The Cookie class exposes the following methods:

getHasKeys indicates whether the cookie contains keys.
getKeys returns an enumerator for accessing the cookie's keys.
getItem returns the value of an item.
getValue returns the value of the cookie.
setDomain sets the domain attribute for a cookie.
setExpires sets the expires attribute for a cookie.
setItem sets the value for a particular cookie that has been implemented as a dictionary.
setPath sets the path attribute for a cookie.
setSecure sets the secure attribute for a cookie.
setValue sets the value for a cookie that has not been implemented as a dictionary.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.