In my website when the user clicks on the \"Logout\" button, the Logout.aspx page loads with code Session.Clear().
Session.Clear()
In ASP.NET/C#, does this clear all co
Though this is an old thread, i thought if someone is still searching for solution in the future.
HttpCookie mycookie = new HttpCookie("aa"); mycookie.Expires = DateTime.Now.AddDays(-1d); Response.Cookies.Add(mycookie1);
Thats what did the trick for me.