CookieAuthenticationOptions.CookieHttpOnly Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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