Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 'Disable' back button in IE

Author  Topic 

juicyapple
Posting Yak Master

176 Posts

Posted - 2008-03-04 : 03:44:19
Hi, I want to 'disable' the back button in IE browser, and I found from net saying that put the codes inside head tag will work...I did try, it does not work perfectly....anyone has idea??


<meta http-equiv="Expires" CONTENT="0">
<meta http-equiv="Cache-Control" CONTENT="no-cache">
<meta http-equiv="Pragma" CONTENT="no-cache">
<Script language="javascript">
window.history.forward(1);
</Script>

juicyapple
Posting Yak Master

176 Posts

Posted - 2008-03-04 : 04:00:45
emm...it just worked after I clear cookies and temporary internet files...
Go to Top of Page
   

- Advertisement -