Properly delete the correlation cookie. See Katana #230.
This commit is contained in:
parent
b10cda80a7
commit
a9e40ac895
|
|
@ -362,7 +362,12 @@ namespace Microsoft.AspNet.Security.Infrastructure
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Response.Cookies.Delete(correlationKey);
|
var cookieOptions = new CookieOptions
|
||||||
|
{
|
||||||
|
HttpOnly = true,
|
||||||
|
Secure = Request.IsSecure
|
||||||
|
};
|
||||||
|
Response.Cookies.Delete(correlationKey, cookieOptions);
|
||||||
|
|
||||||
string correlationExtra;
|
string correlationExtra;
|
||||||
if (!properties.Dictionary.TryGetValue(
|
if (!properties.Dictionary.TryGetValue(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue