When you click the back button in your browser and try to resubmit a form, you may get a message saying "Confirm Form Resubmission". This is because your browser is attempting to resubmit form data that had already been submitted to a web server.
The fix for this issue is to prevent the browser from re-sending the form data by using the "POST-Redirect-GET" model. This means that once the form is submitted, the server will redirect the user to a page where they can view the results of the form submission. This page should not have any form fields on it, and it should not be re-submittable.
Another way to prevent the Confirm Form Resubmission message is to override the browser's default behavior by using the "cache-control" header in the response. This can be done by setting the cache-control header to "no-cache". If this header is present, the browser will not attempt to resubmit the form data.
Finally, you can also prevent form resubmissions by making sure that form fields are empty before submitting the form. The browser won't attempt to resend the data if the field is empty.
I hope this information helps in resolving your issue with Confirm Form Resubmission when you click the back button.