I assumed that sending the expiration page (a la) ...
Response.Cache.SetExpires(System.DateTime.Now.AddSeconds(5));
Response.Cache.SetCacheability(HttpCacheability.Public);
Response.Cache.SetValidUntilExpires(true);
... would mean that if the user clicks the back button, they would see the message “Expired Page”. This seems to be not the case. I found that using the back button, the old (IMO expired) page will simply be displayed . In fact, when experimenting with various combinations of caching / non-caching and expiration time, I NEVER managed to get the "Expired Page" message from the browser.
What conditions cause this message?
ASP.Net server environment. I tested only in IE8 - I assume other browsers are compatible here.
source
share