Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CookieHandler Properties

.NET Framework 4.6 and 4.5

The CookieHandler type exposes the following members.

  Name Description
Public property Domain Gets or sets the domain used for cookies.
Public property HideFromClientScript Gets or sets a value that indicates whether the cookie should be hidden from client script.
Public property Name Gets or sets the base name for cookies written by the handler.
Public property Path Gets or sets the virtual path for cookies written by the handler.
Public property PersistentSessionLifetime The lifetime of persistent sessions. If zero, transient sessions are always used.
Public property RequireSsl Gets or sets a value that specifies whether the cookie should be used only with SSL.
Top
Show:
© 2015 Microsoft