Colin Guthrie schreef:
'Twas brillig, and Fire Eye'd Boy at 01/04/09 20:10 did gyre and gimble:
I usually only redirect if a post has been successful, otherwise I redisplay the form.

Thanks for the suggestion, but I decided on a policy a while back and I'm going to try very hard to stick to it.

The reason I'm not a big fan of your suggestion is that two failed attempts in a row and the back button will break.


IMHO the back button won't 'break': It simply enables the user to go back to a previous invalidaded form state.

IMO the POST - redirect - GET pattern is meant to prevent the submitting of *valid* post data which could lead to unwanted multiple sensitive transactions. As long as the data is invalid there is nothing to worry about. I'ld even argue that it is more userfriendly to allow the user to track back with the backbutton what form states failed submission.

Reply via email to