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)

Syntax

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

Property Value

Type: System.Boolean

Returns Boolean.

See Also

CookieAuthenticationOptions Class
Microsoft.Owin.Security.Cookies Namespace

Return to top