HttpCookie Properties

HttpCookie Properties

 

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubpropertyDomain

Gets or sets the domain to associate the cookie with.

System_CAPS_pubpropertyExpires

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

System_CAPS_pubpropertyHasKeys

Gets a value indicating whether a cookie has subkeys.

System_CAPS_pubpropertyHttpOnly

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

System_CAPS_pubpropertyItem[String]

Gets a shortcut to the HttpCookie.Values property. This property is provided for compatibility with previous versions of Active Server Pages (ASP).

System_CAPS_pubpropertyName

Gets or sets the name of a cookie.

System_CAPS_pubpropertyPath

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

System_CAPS_pubpropertySecure

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

System_CAPS_pubpropertyShareable

Determines whether the cookie is allowed to participate in output caching.

System_CAPS_pubpropertyValue

Gets or sets an individual cookie value.

System_CAPS_pubpropertyValues

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

Return to top
Show:
© 2016 Microsoft