Is there a way (using javascript or other means) to suppress the form resubmission dialog that pops up when a page containing post data is refreshed?
Is there a way (using javascript or other means) to suppress the form resubmission
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is a common problem and the solution has a name: PRG
The page that receives the POST handles it and then redirects the client/browser to another page which is retrieved with a GET request. So if the client refreshes, they are not re-POSTing the data.