PHP Survey Form and Disabling Back button in web browser
Posted on 2006-06-13
Hi experts (and geniuses)!
I have a PHP survey form. People may fill out the form on the "page1.php" and preview the input by clicking "Submit button at bottom (in other words, once "Submit" button is clicked, preview page is displayed). The preview page has two buttons: 1. Proceed (to finally submit) and 2. "Edit" (to go back to "Page1.php" to make changes).
My question is: Is there a way to make it impossible to go back to the "Page1.php" once "Proceed" button is clicked?
I do remember that when I tried to go back to the previous page in some web sites like Paypal or Amazon.com", I could not go back to the previous page. Instead a message showed on light gray screen, saying some messages (whose words I could not remember).
You might ask why I need to do that. The answer is: Some people submitted more thahn once, going back and forth between "Page1.php" and preview.php. Currently, anyone may submit as many as he/she wants: It could be a major problem for me.
Thanks a lot!