Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Form Re-Submission Errors & PRG Patterns
02-06-2018, 09:09 AM
Post: #1
Form Re-Submission Errors & PRG Patterns
Although I should know better, it does annoy me when I get the form re-submission error alert, after clicking on the browser back button.

Has anyone considered implementing the 'PRG Pattern' (Post/Redirect/Get), to reduce the likelihood of the above occurring?

I found this relevant article on form processing.

Are there any views on the benefits, drawbacks, and difficulty of implementation?

Andy.

https://www.linkedin.com/in/andrewcouling
Find all posts by this user
Quote this message in a reply
02-06-2018, 10:27 AM
Post: #2
RE: Form Re-Submission Errors & PRG Patterns
Hmmm, not sure, I'll have to read that article first, and maybe even give it a try on a form, or two, to see how it goes.
Find all posts by this user
Quote this message in a reply
02-21-2018, 09:47 PM
Post: #3
RE: Form Re-Submission Errors & PRG Patterns
Hi Paul, I'm keen to get your view on this, but of course, appreciate that you're real busy and focused on other areas.

Andy.

https://www.linkedin.com/in/andrewcouling
Find all posts by this user
Quote this message in a reply
02-21-2018, 11:46 PM
Post: #4
RE: Form Re-Submission Errors & PRG Patterns
My understanding is (though I may be wrong) that changing to using the PRG would be very intrusive, changing fundamentally the way most of the scripts operate? If so, then this is something we have in the past striven to avoid.

Tim
Visit this user's website Find all posts by this user
Quote this message in a reply
02-21-2018, 11:56 PM
Post: #5
RE: Form Re-Submission Errors & PRG Patterns
Yes, adding the time stamp and 303 redirect to existing scripts would be a lengthy task.

If there is consensus on the benefit of the technique, then perhaps we adopt it for new scripts going forward, and gradually work our way thru the existing scripts as time and enthusiasm permits.

Andy.

https://www.linkedin.com/in/andrewcouling
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)