Hi friend's I want to set page expiration by clicking back button after log out..
Can anyone give me some reference i have used below code on page load but it does not work out...
Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1));
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetNoStore();
How to set Document Expiration?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Piyush Raghvani39 reputationPosted Feb 10, 2014, 12:07 AM EST
Please refer following URL.
http://www.codeguru.com/csharp/.net/net_debugging/debugging/article.php/c12891/Getting-Rid-of-the-Back-Button-Problem.htm