Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IE Error When Refreshing/Disable Back Button 1

Status
Not open for further replies.

hacole

Programmer
Joined
Jan 19, 2001
Messages
16
Location
US
Is there any way to get around the Microsoft confirm box to "Retry" or "Cancel" when refreshing a page? I'm trying to disable the browser's Back button by running the following script in the head of every page:


<SCRIPT LANGUAGE=&quot;JavaScript&quot;>
javascript:window.history.forward(1);
</SCRIPT>

It's working on all my pages except the ones that get that Microsoft message when refreshing. Any suggestions??

Thanks,
hacole
 
-> about diabling the back button, you can go to the jscript forum, and use the search function with &quot;disabl back button&quot; you'll get a lot of results !!!! - anyway the only proper and efficient way to do so is setting it SERVER SIDE - in your web server
-> about the message, unless you make your clients download a small piece of code to modify their registry settings (which i bet more than half the clients will refuse - i personnaly do), you can't do anything .... it's a security setting of the CLIENT browser - as a client would you allow anyone to modify your settings ???
 
That's what I was afraid of.... thanks for your input and time.

hacole
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top