How to restrict form resubmitting all data again click on browser's refresh button.

Hi,

Please suggest me how to stop resubmitting all data on click of refresh button of browser.

 

Hi Prathmesh Jadhav,

Perhaps you show some sort of a confirmation page after form submission without actually redirecting to a new screen.

In order to avoid form resubmission on refresh you'd want to add a redirect to another page or screen so that it actually is loaded without any form submission.

Unfortunately you can't prevent users from getting back in browser history and submitting the form again unless you implement some sort of one-time token for form submission.

Hi Prathmesh,

Could you elaborate your scenario?