NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HttpCookie Properties

The properties of the HttpCookie class are listed below. For a complete list of HttpCookie class members, see the HttpCookie Members topic.

Public:

Domain Restricts domain cookie is to be used with.
Expires Expiration time for cookie (in minutes).
HasKeys Gets a value ndicating whether the cookie has sub-keys.
Item Shortcut for HttpCookie$Values[key]. Required for ASP compatibility.

In C#, this member is the indexer for the HttpCookie class.

Name Gets or sets the name of cookie.
Path Gets or sets the URL prefix to transmit with the current cookie.
Secure Indicates whether the cookie should be transmitted only over HTTPS.
Value Gets or sets an individual cookie value.
Values Gets individual key:value pairs within a cookie.

See Also

HttpCookie Class | System.Web Namespace