更新时间:2023-02-15 23:16:37
不确定,但是尝试一下,希望对您有所帮助.
Im not sure,but try this,I hope it will help you.
Session.Remove("AnotherSession");
插入
insted of
Session.Abandon();
Session["AnotherSession"] = null;
这对我有用:
This worked for me:
Session.clear();//clear session
Session.Abandon();//Abandon session
Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1));
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetNoStore();
这个好技巧将为您提供帮助.
注销后浏览器后退按钮问题 [
This good tip will help you.
Browser back button issue after logout[^]