You are complety right with your guess. If you want to use the
controller-flash method you have to deactivate the redirect in the
UserController, because calling this method starts rendering the
message page automatically.

function login()
   {
          // [....]
           if($success)
           {
               /* $this->DAuth->redirect('login_success');
deactivated*/
               return true;
           }
          // [...]
   }



PS: Sorry for my poor english :)


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to