Op Thursday 20 August 2009 11:03:39 schreef Enkhbilguun Erdenetsogt: > Hello, > > I'm building a user login/logout functionality in my ZF project. I just > want to forward a user, just logged in or out, to the page before the > user logged in or out. Could you tell me which commands I should use? > > > Thank you very much friends.
In the controller, use the $this->_forward() method to dispatch another action. To force a redirect for the browser, you can use $this->_redirect(). Both are part of the Zend_Controller_Action class. Regards, Jurian -- Jurian Sluiman Soflomo.com
