Hi Uros,

$this->_response->setRedirect( "/xxx" );
this->_response->sendResponse();
exit;

Just wrote this today; dunno if it's the "accepted method" since it breaks/kills the program flow. For my needs, it works fine.

Cheers,

Pet

Uros wrote:
Hi,

I'm trying to implement authentication with acl and when user is denied I
need to redirect it to new controller and action.

I create plugin (called first) and in postDispatch set new controller and
action. but redirect does not happened. If I set
$request->setDispatched(false) it loops forever.

Is there anything I need to know?

regards

Reply via email to