This discussion helped a lot, thanks. I understand the flow better --
one controller instance is created and lasts the lifetime of the
request.

I implemented nate's suggestion because if I tell my UserController not
to redirect then I won't capture the case of not-logged-in users going
to /user/edit and other user actions. So somewhere I needed nate's
"$this->action != 'login'" and so I put it in AppController so that
this logic all lives in one place.


--~--~---------~--~----~------------~-------~--~----~
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