BKBK wrote:
My test works on Chrome.
When I click on the back button, Chrome displays an error page.
When you press F5/Refresh the webpage you will be shown as User Logged in:BKBK once againn. Because browser stores the past requests in history and if the past request is a POST it asks you whether to resubmit the form with the stored past post request. This is common browser behavior. So, need to perform : Post + Redirect to self
Form on Page1 posts the data to Page2, Page2 processes the data and does what needs to be done, and then it does a HTTP redirect on itself. This way the last "action" the browser remembers is a simple GET on page2, so the form is not being resubmitted upon F5.
http://en.wikipedia.org/wiki/Post/Redirect/Get
http://stackoverflow.com/questions/3923904/preventing-form-resubmission
I know this is quite an old thread however I am a follower of your BKBK. Need your inputs/suggestions!!!
Thanks
VJ