c_pattle Posted August 3, 2011 Share Posted August 3, 2011 I'm currently working on a website that contains a lot of forms and I keep having the problem where the POST data is resent every time the page is refreshed. As well as being annoying it's not good for the user. Does anyone have any tips or techniques about how to solve this problem? Thanks for any help. Quote Link to comment https://forums.phpfreaks.com/topic/243741-clearing-post-data/ Share on other sites More sharing options...
IrOnMaSk Posted August 3, 2011 Share Posted August 3, 2011 all the forms on same page? so what's the purpose of refreshing the page? isn't it to test the form? well, you can comment out the post in the form Quote Link to comment https://forums.phpfreaks.com/topic/243741-clearing-post-data/#findComment-1251473 Share on other sites More sharing options...
c_pattle Posted August 3, 2011 Author Share Posted August 3, 2011 I have lots of different forms on lots of different pages. I mean when the user refreshes the page or presses back this message appears in the browser "To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier." I was just wondering if there is an easy way to clear POST variables. Quote Link to comment https://forums.phpfreaks.com/topic/243741-clearing-post-data/#findComment-1251516 Share on other sites More sharing options...
PFMaBiSmAd Posted August 3, 2011 Share Posted August 3, 2011 See this post - http://www.phpfreaks.com/forums/index.php?topic=340400.msg1604736#msg1604736 Quote Link to comment https://forums.phpfreaks.com/topic/243741-clearing-post-data/#findComment-1251518 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.