calmchess Posted July 8, 2007 Share Posted July 8, 2007 How do I stop firefox from reposting post data when my php page is refreshed? Quote Link to comment Share on other sites More sharing options...
metrostars Posted July 8, 2007 Share Posted July 8, 2007 Don't know if you can, but what I usually do when you insert data using POST, is to redirect using header(). That way, you can't refresh on that page as it redirects after the script is complete and if you click back, you're taken to the page where the form is. I find that's the easiest way around it. Quote Link to comment Share on other sites More sharing options...
NArc0t1c Posted July 8, 2007 Share Posted July 8, 2007 Sessions. create session on submit, if session is greater than one, exit; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.