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
'Declaration
Public Property CookieSecure As CookieSecureOption
Get
Set
'Usage
Dim instance As CookieAuthenticationOptions
Dim value As CookieSecureOption
value = instance.CookieSecure
instance.CookieSecure = value
public CookieSecureOption CookieSecure { get; set; }
public:
property CookieSecureOption CookieSecure {
CookieSecureOption get ();
void set (CookieSecureOption value);
}
member CookieSecure : CookieSecureOption with get, set
function get CookieSecure () : CookieSecureOption
function set CookieSecure (value : CookieSecureOption)
Property Value
Type: Microsoft.Owin.Security.Cookies.CookieSecureOption
Returns CookieSecureOption.