Professional Documents
Culture Documents
Up
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
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
Add
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.
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
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
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
https://support.google.com/chrome/answer/95414?
co=GENIE.Platform%3DDesktop&hl=en
Add
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
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
Find Us
© 2018 Autodesk, Inc. Terms of Service | Privacy Statement | Privacy settings | Legal Notices & Trademarks