In short, there is *NO WAY* to disable the BACK button. One thing you can do is have the form submit itself to a page that generates a redirect to the following page. This way if the user presses BACK they will go back to the redirect page, which will send them back forward again.
This will not stop the user from using HISTORY to go back though. Another technique is to use a hidden frameset to store some 'page state' variable. Whenever a page loads, you can have it run a javascript function in the hidden frame. When page TWO loads you can have a variable on the hidden page set to "2", so if someone goes back to page ONE, the script in the hidden frame can detect that they've already been to page TWO and send them back there. There are many things you can do, none of them are 100% fool-proof. These ones should work pretty well though. - James -----Original Message----- From: Steve Campbell [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 12:19 PM To: [EMAIL PROTECTED] Subject: Re: WiTango-Talk: overcoming the browser back button The mail action is fixed...the logs showed that I relayed myself out..so the idea to que is a good one..and iss now working. Now on to the next problem. I have a simple form entry, that checks against a few columns to make sure the user has entered data in the form already. I am only allowing the user to enter once. I have found that hitting the "browswer back" button that they can keep entereing. Anyway around this? Steve Thanks for eveyrthing guys.. ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
