CookieAuthenticationOptions.CookieHttpOnly Property

Definition

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.

public:
 property bool CookieHttpOnly { bool get(); void set(bool value); };
public bool CookieHttpOnly { get; set; }
member this.CookieHttpOnly : bool with get, set
Public Property CookieHttpOnly As Boolean

Property Value

Applies to