This topic is locked

Stop users pressing back button on brower

2/27/2007 7:37:08 AM
PHPRunner General questions
D
datapimp author

Hi all
I would like to know if it's possible to stop users from pressing the back button on there browser once they have entered information to stop the duplication of data? All I can do is just redirect them to another page, but that doesn't stop the user from going back and entering the same data again.
I'm open for any ideas <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=4713&image=1&table=forumtopics' class='bbc_emoticon' alt=':huh:' />

T
thesofa 2/27/2007

You could use events to check that they have not already saved the record

D
datapimp author 2/27/2007

I was thinking of that but my site pretty big and it would take some time to add all that code. I was hopping to for a quick fix... like a small Java app.

D
datapimp author 2/27/2007

after asking my friend google... I might try something as sated on this page
http://www.boutell.com/newfaq/creating/backbutton.html