避免使用者登出後,點選上一頁可看到登入過後才能看到資訊
in Global.asax.cs
protected void Application_EndRequest(object sender, EventArgs e)
{
HttpContext.Current.Response.Cache.SetCacheability(HttpCacheability.NoCache);
HttpContext.Current.Response.Cache.SetNoServerCaching();
HttpContext.Current.Response.Cache.SetNoStore();
}