Let's say you have a front controller plugin with a preDispatch method that looks at the module/action/controller, checks if Zend_Auth::getInstance()->hasIdentity(), and resets the module/action/controller to default/users/login if appropriate.
How do you save the initial request URI and redirect following a successful login? I can think of two techniques: (1) save it in the session or (2) stuff it in the login form as a hidden field and let it go along for the ride. Any suggestions as to which is preferable, or other alternatives? -- David Mintz http://davidmintz.org/ The subtle source is clear and bright The tributary streams flow through the darkness
