I have used $this->redirect($url, null, TRUE) for years in cakephp 1.2 and 
1.3 when needing to cross a controller boundary.

I recently for the first time tried to use redirect with the 3rd parm set 
to FALSE so it will return to the calling controller for further 
processing, however for some reason when I set the 3rd parm to FALSE the 
target controller is not called at all.

I went into controller.php and traced the code and it indeed is attempting 
to set $this->header to the correct "Location: url" and the url looks 
perfect etc - however there is no actual redirection.

What am I missing? Is there something going on with route caching perhaps?

I am processing an array and redirecting to another controller for each 
element, and if I change the 3rd parm to TRUE, indicating I want the action 
stopped after the redirect completes the target controller is indeed 
called, but of course control does not return to my controller processing 
the array. Also the aforementioned trace looks identical when I set the 3rd 
parm to TRUE...

Any ideas would be greatly appreciated.

-- 
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup

We will soon be closing this Google Group. But don't worry, we have something 
better coming. Stay tuned for an updated from the CakePHP Team soon.

Like Us on FaceBook https://www.facebook.com/CakePHP
Follow us on Twitter http://twitter.com/CakePHP
--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to