Sanjeev_dutt <[EMAIL PROTECTED]> wrote :
> Any pointers on how to disable the back button of the
> browser ( Both IE and Netscape ) ?

Brute force method is to pop up your app in a new window, with the toolbar disabled.

var w = window.open("/Common/AgreementNotepad.do", "AgreementNotepad", "left=10, 
top=10, width=500, height=440, toolbar=no, location=no, directories=no, status=no, 
menubar=no, resizable=no, copyhistory=no, scrollbars=no, dependent=no");

You can prevent users using the right click menu to access the back functionality by 
adding oncontextmenu="false" to your body tag. (I've had this working in latest 
mozilla and IE5)

However, in our latest application, I'm trying to allow the back button to work.  Can 
anyone point me to a good resource of what happens when the user clicks the back 
button?  If you go back to a .do does the action fire?  Where do those "this page has 
expired" messages come from?  How do I do/avoid that?

ta,

Tim.






--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to