CookieAuthenticationOptions.CookieSecure Property
Determines if the cookie should only be transmitted on HTTPS request. The default is to limit the cookie to HTTPS requests if the page which is doing the SignIn is also HTTPS. If you have an HTTPS sign in page and portions of your site are HTTP you may need to change this value.
Namespace: Microsoft.Owin.Security.Cookies
Assembly: Microsoft.Owin.Security.Cookies (in Microsoft.Owin.Security.Cookies.dll)
Syntax
public CookieSecureOption CookieSecure { get; set; }
public:
property CookieSecureOption CookieSecure {
CookieSecureOption get();
void set(CookieSecureOption value);
}
member CookieSecure : CookieSecureOption with get, set
Public Property CookieSecure As CookieSecureOption
Property Value
Type: Microsoft.Owin.Security.Cookies.CookieSecureOption
Returns CookieSecureOption.
See Also
CookieAuthenticationOptions Class
Microsoft.Owin.Security.Cookies Namespace
Return to top