Also, exit() isn't the recommended method to quit processing a method
in CakePHP.  If you were to do this there is code after the redirect
that could be executed.  Not to mention the CakePHP cleanup.  Case in
point would be a redirect for a user to a page after he deletes
something while the delete happens in the background.

Instead you can use return false; to stop processing.

At any rate whenever you have multiple renders or a redirect it is best
to place a return false after each of them to stop method processing
from anything weird that could happen if left to processing that
particular method.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to