System.Web.HttpCookie Members

The members of System.Web.HttpCookie are listed below.

See Also: Inherited members from System.Object

Public Constructors

Creates and names a new cookie.

Creates, names, and assigns a value to a new cookie.

Public Properties

Domainstring.

Gets or sets the domain to associate the cookie with.

ExpiresDateTime.

Gets or sets the expiration date and time for the cookie.

[read-only]
HasKeysbool.

Gets a value indicating whether a cookie has subkeys.

HttpOnlybool.

Gets or sets a value that specifies whether a cookie is accessible by client-side script.

default property
Item(string)string. Documentation for this section has not yet been entered.
Namestring.

Gets or sets the name of a cookie.

Pathstring.

Gets or sets the virtual path to transmit with the current cookie.

Securebool.

Gets or sets a value indicating whether to transmit the cookie using Secure Sockets Layer (SSL)--that is, over HTTPS only.

Valuestring.

Gets or sets an individual cookie value.

[read-only]
ValuesSystem.Collections.Specialized.NameValueCollection.

Gets a collection of key/value pairs that are contained within a single cookie object.