HttpOnly Property

Cookie.HttpOnly Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets a value that indicates whether a page script or other active content can access this cookie.

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

'Declaration
Public Property HttpOnly As Boolean

Property Value

Type: System.Boolean
true to indicate that a page script or other active content cannot access this Cookie; otherwise, false. The default is false.

The default value (false) enables page scripts or other active content to access this cookie.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft