Persist Zend Form object after redirect
问题 So the thing is I have a form in page A which is being submitted at page B. After validating the form at page B, it should redirect back to page A and show the form with the possible errors that occurred. What's the best way to achieve this? Is it smart to temporary put the whole form object in the session? Or is there a more elegant solution? 回答1: Why not validate it on page A, and then forward to page B if it's valid? That way you don't have to do any ugly hacks. 回答2: The correct way is to