We work with the Zend framework and perform CSRf checks on every controller action. I want to move this redundant logic to a point in the Zend lifecycle flow and though that the best place will be the routeShutdown method.
I tried to put there call for redirect - something like this:
$this->_redirector->gotoUrl(\)
What happens is an endless loop in which the request eventually times out.
I must be doing something extremely wrong but since I am a newbie in this, I can't figure out what - any help will be most appreciated.
Thanks A.