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();
Loading

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