Do not allow user to view page using browser back button

 

// We never want the user to get back to this page via browser back

 

// so prevent this from happening

Response.Cache.SetCacheability(HttpCacheability.NoCache);

There is also MS KB article, that shows How to retain only the most recent Web page state in the Web browser history folder.

The latest (still in Beta) ASP.NET AJAX has  ASP.NET 3.5 Extensions History Control Tip

posted @ Monday, April 14, 2008 5:49 PM

Print

Comments on this entry:

No comments posted yet.

Your comment:



 (will not be displayed)


 
 
 
 
 

Live Comment Preview:

 
«March»
SunMonTueWedThuFriSat
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910