disbale back button |
| mv ark replied to Arjun Priyananth at 03-Jul-08 04:06 |
These 2 are the most authoritative articles on this topic - http://www.4guysfromrolla.com/webtech/111500-1.shtml http://forums.asp.net/t/989339.aspx
There is no perfect solution & these 2 options work fine for most as long as Javascript is not disabled -
<script language="JavaScript"> <!-- javascript:window.history.forward(1); //--> </script>
<A HREF="PageName.htm" onclick="javascript:location.replace(this.href); event.returnValue=false; ">No back button when you do this.</A>
|
| Biography |
| M.V. 'Anil' Radhakrishna is a seasoned developer and a Microsoft MVP (ASP/ASP.NET). He blogs his little discoveries and Web development tips, tricks and trivia quite regularly. You can find some of his unusual code samples & snippets at his Code Gallery. |
|