Back button behavior after Post-Redirect-Get

My application disables browser caching via response headers, and then uses the Post-Redirect-Get template to enable the back button to the current page. However, when re-testing now with Firefox 12 and IE 8, I do not see the expected results (or what I saw before with IE 6).

After selecting the "Back" button, I see that the browser is trying to execute the initial request (Post), and not a redirected request (Get). When I look at the requests on the Firebug network tab, I see the following:

Post-redirect-get

It looks like the browser processes the message and receives as the same request, and therefore, selecting the "Back" button resends the message:

Result of Back Button

JSF, , . - , ?

+5
1

. "" "POST accountDetails.xhtml", 1- , 2- , - ( ) "GET accountDetails.xhtml". -, bean, , - "registrationWelcome.xhtml". "POST accountDetails.xhtml" - , "reviewInfo.xhtml".

"" . , . "" POST, .

+4

All Articles