Allowing users to Refresh browser without the “Confirm Form Resubmission” pop-up

After processing the POST page, redirect the user to the same page.

On http://test.com/test.php

header('Location: http://test.com/test.php');

This will get rid of the box, as refreshing the page will not resubmit the data.

Leave a Comment