You are on page 1of 9

f Login | Sign

Up

HOW TO FIX CONFIRM FORM RESUBMISSION ERROR


[ERR_CACHE_MISS]
By Mohanvenkat in Technology > Software 11 1

Published Jun. 9, 2018 Download Favorite

By MohanvenkatRelisticle About: I write. More About Mohanvenkat »


Follow

Know what is Confirm Form Resubmission Error

As per a Super User Programmer, Chrome introduced this"feature" to stop browsers from
inadvertently duplicating POST activities on forms.

By way of example, purchasing the identical thing twice. Should you refresh a page after
purchasing something, your credit card may be charged double if you were not asked
to"validate form resubmission". Getting more specialized, the consumer claims that there
was a repair on previously Chrome invocations that leveraged the -disable-prompt-on-
repost parameter, but this was broken up in later versions. Further, despite several
Chrome user complaints and bug reports this dilemma has remained constant.
Complicating this Super User Programmer claims is that the Chrome module which does
back/forward is constructed so badly it is almost impossible to repair.

 Add

Tip V Ask Question | Comment Download

Step 1: Ways to Fix or Prevent Confirm Form Resubmission Error


If you’re getting the “confirm form resubmission” dialog popup, it typically occurs on
Chrome on refresh or after pressing a back button.

It will also sometimes provide the error code “ERR_CACHE_MISS”. It’s not so much an
error, however, more of a ‘feature’, according to Super User posters who have
investigated the issue.

Whatever the case, many internet users are trying to figure out how to turn it off. First, let’s
take a look at why it happens.
There are 4 possible ways to prevent this error:

Post/Redirect/Get
-disable-prompt-on-repost on google chrome Target
no-store in header
updating your chrome

Continue reading until the end!

 Add

Tip V Ask Question | Comment Download

Step 2: By Using Post/Redirect/Get


Read this before the using this Method.

As you may know from your research, POST-redirect-GET looks like this:

The client gets a page with a form. The form POSTs to the server. The server performs
the action, and then redirects to another page. The client follows the redirect. For
example, say we have this structure of the website:

/posts (shows a list of posts and a link to "add post") / (view a particular post) /create (if
requested with the GET method, returns a form posting to itself; if it's a POST request,
creates the post and redirects to the / endpoint) /posts itself isn't really relevant to this
particular pattern, so I'll leave it out.

/posts/ might be implemented like this:

Find the post with that ID in the database. Render a template with the content of that post.
/posts/create might be implemented like this:

If the request is a GET request: Show an empty form with the target set to itself and the
method set to POST. If the request is a POST request: Validate the fields. If there are
invalid fields, show the form again with errors indicated. Otherwise, if all fields are valid:
Add the post to the database. Redirect to /posts/ (where is returned from the call to the
database)

By using REDIRECT, you can redirect the transaction page to a Successful message
page.

For Details steps on how to implement this Method and working examples Read: Confirm
F orm Resubmission - How to fix.

 Add

Tip V Ask Question | Comment Download


Step 3: ‘no-store’ in the Header
Know what is no-cache

If the no-cache directive does not specify a field-name, then a cache MUST NOT use the
response to satisfy a subsequent request without successful revalidation with the origin
server. This allows an origin server to prevent caching even by caches that have been
configured to return stale responses to client requests.

By deleting no-cache in your Header you can prevent your page from redirecting.

For Details steps on how to implement this Method and working examples Read: Confirm
Form Resubmission - How to fix.

 Add

Tip V Ask Question | Comment Download

Step 4: -disable-prompt-on-repost
By adding this to the target of chrome's application in the properties will completely
prevent the problem.

Add -disable-prompt-on-repost to Application's Target.

Open application's folder in Program files in C Drive


Right-click and open properties
Click on the target field and add -disable-prompt-on-repost to the end of the directory
Try again to check if chrome is still showing the error

 Add

Tip V Ask Question | Comment Download

Step 5: Update Your Chrome Browser


Updating the browser always changes so I will link this to Googles' Developer page where
it will always be updated from date to date.

https://support.google.com/chrome/answer/95414?
co=GENIE.Platform%3DDesktop&hl=en

 Add

Tip V Ask Question | Comment Download


Step 6: For Further Help
Assistance

Howdy, I Hope your Problem is solved but, If you need any Additional assistance or help
regarding this error then use the form in the link below to reply to me with a detailed
explanation of the problem. I will surely reply with the solution of whats causing the
problem.

Cheers :D

Link: https://confirmformresubmission.org

This is article is originally published on the above page, This is the condensed version of
the same article. But the source article contains more info and working examples to help
you guide through the problem if you don't get what is happening completely.

 Add

Tip V Ask Question | Comment Download

Share
Did you make this project? Share it with us!

I Made It!

Recommendations
Easy Way to Smooth PLA | No Sanding
by 3DSage in Technology
Minimalist 3D Printed RGB Word Clock
by .A. in 3d Printing
SKY CAM an Aerial Camera Solution
by TizzDoggo in Microcontrollers
3D CAM and CNC Class
553 Enrolled

 Add Tip

V Ask Question
| Post Comment

We have a be nice policy.


Please be positive and constructive.

Categories About Us Resources


Technology Food Who We Are Residency Program
Workshop Play Why Publish? Community
Craft Outside Jobs Sitemap
Home Costumes Contact Help

Find Us

© 2018 Autodesk, Inc. Terms of Service | Privacy Statement | Privacy settings | Legal Notices & Trademarks

You might also like