My application stores the user's password in session. If the user is
on our intranet, then it also stores the password in a cookie. At
least, it used to. When I try to use the Zend Redirector instead of my
own, homebrew, redirect function, I find that the cookie is not set.
Here is some sample code:
class IndexController extends Zend_Controller_Action
{
public function loginAction()
{
setcookie('snoopy', 'prickly pete');
$this->_redirect('/index');
}
}
Any idea on how I can use the Zend Redirector helper and still set my
cookie?
Mike van Lammeren