theEclipse
Programmer
I have been working on a custom CMS/shopping cart to fulfill some specific customer needs and find myself constantly clicking "Resend" when asked by my browser if it is okay to resubmit.
I know that can be avoided by posting via GET, but I have noticed that not many websites (eg. Paypal) use that as it can still lead to double form submittals. However, neither do they process things in such a way as I would be able to resubmit form data.
I came across and I am really unsure about the idea of redirecting every form that is submitted via POST, especially when the idea collides with error checking.
I searched google for some example code but can't seem to produce anything more than high-level abstractions, searching TT:HP for 'post redirect get' yielded some results but seemingly nothing relevant.
What is the normal way of preventing these messages and concurrently preventing double form submittals?
Robert Carpenter
Remember....eternity is much longer than this ~80 years we will spend roaming this earth.
ô¿ô
I know that can be avoided by posting via GET, but I have noticed that not many websites (eg. Paypal) use that as it can still lead to double form submittals. However, neither do they process things in such a way as I would be able to resubmit form data.
I came across and I am really unsure about the idea of redirecting every form that is submitted via POST, especially when the idea collides with error checking.
I searched google for some example code but can't seem to produce anything more than high-level abstractions, searching TT:HP for 'post redirect get' yielded some results but seemingly nothing relevant.
What is the normal way of preventing these messages and concurrently preventing double form submittals?
Robert Carpenter
Remember....eternity is much longer than this ~80 years we will spend roaming this earth.
ô¿ô