Welcome Guest, Not a member yet? Register   Sign In
How to disable back button in the browser?
#3

[eluser]PhilTem[/eluser]
You can't disable the button in a safe way, as @boltsabre already stated.

But, you may either use session data and set a session flag once the form is submitted. For this flag you'll check on the form page before displaying the latter. If the flag exists, the user has most likely pushed the back button.
You may additionally set the TTL of your form page to 0 seconds i.e. it is expired after propagation to the browser so each time the user hits the back button the page needs to be newly loaded and not loaded from the browser's cache.


Messages In This Thread
How to disable back button in the browser? - by El Forum - 05-30-2012, 07:39 AM
How to disable back button in the browser? - by El Forum - 05-30-2012, 08:03 AM
How to disable back button in the browser? - by El Forum - 05-30-2012, 08:28 AM
How to disable back button in the browser? - by El Forum - 05-30-2012, 09:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB