Table of Contents

Property HttpOnly

Namespace
DotNetBrowser.Cookies
Assembly
DotNetBrowser.dll

Gets or sets the HttpOnly attribute. The HttpOnly cookie attribute can help to mitigate hijacking and XSS attacks by preventing access to cookie value through JavaScript.

public bool HttpOnly { get; set; }

Property Value

bool

The HttpOnly attribute value.