Hello,
I'm facing an issue with the FomrsAuthentication, after signOut() the AuthCookie still exists even though expired, which causes security breach on all requests.
FormsAuthentication.SignOut();
Session.Abandon();
HttpCookie adAuthCookie = FormsAuthentication.GetAuthCookie(FormsAuthentication.FormsCookieName, false);
adAuthCookie.Expires = DateTime.Now.AddYears(-1);
Response.Cookies.Add(adAuthCookie);
I'm using .NET 4.5.1.