首先,页面的Page_Load事件要有:Context.Response.Cache.SetCacheability(HttpCacheability.NoCache);
然后,“注销”按钮要清空Session
Session.Clear();
Session.RemoveAll();
Session.Abandon();
Server.Transfer("~/Login.aspx");
转载于:https://blog.51cto.com/wurongzong/595676