Question Locked

How to Fix PHP Error Confirm Form Resubmission?

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am using PHP to make a form that collects email and first name but when I try to refresh the page after the process is done, it shows this error. Confirm Form Resubmission and with an error code ERR_CACHE_MISS. I have checked my code and found nothing wrong with it. Except this everything works fine.

Please help me, stuck with this for days.

Best Answer I got is from Mohan (Which worked pretty well for me)

[Quoting his Answer]

As I mentioned above 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://confirmformresubmission.org/

Hope this helps. Good luck Fixing the error.
~ Mohanvenkat

6 replies

by mohanvenkatp

As I mentioned above 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://confirmformresubmission.org/

Hope this helps. Good luck Fixing the error.
~ Mohanvenkat

by samcalum

1'st Method Solved my Problem. The examples were lifesavers.

You are the best!

by primejohnadam

I was also facing the same issue. All websites were working just fine on every browser except Chrome. But, I did notice that the sites were loading perfectly fine in the incognito mode.

by primejohnadam

The only method that really worked for me was purging Chrome's cache.

Here are the steps:
1. Open chrome and then press ctrl+h
2. Then click on "Clear browsing history".
3. Then from the popup choose the "All time".
4. Finally, click on the "Clear data" button.
Source: ( https://gadgetraja.com/err_cache_miss/ )

This discussion is closed to new replies.