Redirect after POST
Published 22 September 04 by Justin French
It all boils down to the following mantra:
- Never show pages in response to POST
- Always load pages using GET
- Navigate from POST to GET using REDIRECT
The reality is I already knew this, and discovered it a long time ago through trial and error, but it’s really nice to see a clear, concise and detailed explanation of the dangers, the logic and the reasoning behind it all.
If you’re breaking any of the above rules, I urge you to read the article – dig deeper and write some smarter code!
Before you go…
Here’s some links to my most popular posts: