• Post Reply Bookmark Topic Watch Topic
  • New Topic

POST Redirect GET Pattern

 
Alec Lee
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have search through some old posts
(http://www.coderanch.com/t/359761/Servlets/java/Logout-HttpSession) and discovered the "POST Redirect GET" pattern was discussed - to prevent "dangling" POST in the browser and problems related to the use of BACK and REFRESH button after posting a form using POST.

Could any expert further explain what the problems are and how the pattern solves them. It seems that this pattern is used quite often. I analyzed yahoo's mail (by tapping the http messages) and found that they are doing a redirect everytime we login and logout. So, I am quite sure there are good reasons this pattern should be used.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!