.NET Framework Class Library
HttpCookie Members

Provides a type-safe way to create and manipulate individual HTTP cookies.

The HttpCookie type exposes the following members.

Constructors

  NameDescription
Public methodHttpCookieOverloaded. Initializes a new instance of the HttpCookie class.
Top
Methods

  NameDescription
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a String that represents the current Object. (Inherited from Object.)
Top
Properties

  NameDescription
Public propertyDomainGets or sets the domain to associate the cookie with.
Public propertyExpiresGets or sets the expiration date and time for the cookie.
Public propertyHasKeysGets a value indicating whether a cookie has subkeys.
Public propertyHttpOnlyGets or sets a value that specifies whether a cookie is accessible by client-side script.
Public propertyItemGets a shortcut to the HttpCookie..::.Values property. This property is provided for compatibility with previous versions of Active Server Pages (ASP).
Public propertyNameGets or sets the name of a cookie.
Public propertyPathGets or sets the virtual path to transmit with the current cookie.
Public propertySecureGets or sets a value indicating whether to transmit the cookie using Secure Sockets Layer (SSL)--that is, over HTTPS only.
Public propertyValueGets or sets an individual cookie value.
Public propertyValuesGets a collection of key/value pairs that are contained within a single cookie object.
Top
See Also

Reference

Tags :


Page view tracker