Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Form Re-Submission Errors & PRG Patterns
02-06-2018, 09:09 AM,
#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
Reply
02-06-2018, 10:27 AM,
#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.
Reply
02-21-2018, 09:47 PM,
#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
Reply
02-21-2018, 11:46 PM,
#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
Reply
02-21-2018, 11:56 PM,
#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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)