CookieAuthenticationOptions.CookieHttpOnly Property

Determines if the browser should allow the cookie to be accessed by client-side javascript. The default is true, which means the cookie will only be passed to http requests and is not made available to script on the page.

Namespace:  Microsoft.Owin.Security.Cookies
Assembly:  Microsoft.Owin.Security.Cookies (in Microsoft.Owin.Security.Cookies.dll)

public bool CookieHttpOnly { get; set; }

Property Value

Type: System.Boolean
Returns Boolean.