Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
HttpCookie Class
 HttpCookie Members

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.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.

  NameDescription
Public methodHttpCookieOverloaded. Initializes a new instance of the HttpCookie class.
Top
  NameDescription
Public methodEquals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodGetType Gets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodToString Returns a String that represents the current Object. (Inherited from Object.)
Top
  NameDescription
Public propertyDomain Gets or sets the domain to associate the cookie with.
Public propertyExpires Gets or sets the expiration date and time for the cookie.
Public propertyHasKeys Gets a value indicating whether a cookie has subkeys.
Public propertyHttpOnly Gets or sets a value that specifies whether a cookie is accessible by client-side script.
Public propertyItem Gets a shortcut to the HttpCookie..::.Values property. This property is provided for compatibility with previous versions of Active Server Pages (ASP).
Public propertyName Gets or sets the name of a cookie.
Public propertyPath Gets or sets the virtual path to transmit with the current cookie.
Public propertySecure Gets or sets a value indicating whether to transmit the cookie using Secure Sockets Layer (SSL)--that is, over HTTPS only.
Public propertyValue Gets or sets an individual cookie value.
Public propertyValues Gets a collection of key/value pairs that are contained within a single cookie object.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker