Session.Abandon(); Session["AnotherSession"] = null; Session["MyName"] = "SomeName"
Session.Remove("AnotherSession");
Session.Abandon(); Session["AnotherSession"] = null;
Session.clear();//clear session Session.Abandon();//Abandon session Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1)); Response.Cache.SetCacheability(HttpCacheability.NoCache); Response.Cache.SetNoStore();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)