Disable Confirm Form Resubmission



  • It would really nice to have the old Opera behavior where a form using POST method upon refresh would just refresh instead of resubmitting the form. As a developer, sometimes, you just want to refresh the page because you are looking for some kind of mark up error and resubmitting the page will not allow you to see the error you are trying to trap.

    For example, if the page is only rendering to a certain point, refreshing will still throw the error, and you will only be able to see the markup to the error, but not the actual markup creating the error using view source. Maybe this could be put as an option in a session, so that for that session, those tabs open would not have to resubmit forms on refresh.



  • there are 4 ways to fix this. Most widely accepted solution is to use Post/Redirect/Get in PHP. By using this method, you can receive the data using GET or POST and send the user to another page(most used is a Success Message Page) by REDIRECT.

    This helps by preventing the user to fill the details again. But if this doesn't work(most probably should) then try other methods by visiting this link: https://winerrorfixer.com/confirm-form-resubmission/

    Hope this helps. Good luck Fixing the error.


Log in to reply
 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.