yeah!! that worked just fine! thanks

however, now I'm getting another error by the browser:

The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for
this address in a way that will never complete.

if I comment the lines:
$this->redirect('/users/login');
exit();

everything is ok.

On Oct 24, 2:18 pm, Gwoo <[EMAIL PROTECTED]> wrote:
> You should look at the example in the Manual. It does not use
> __construct(), it uses beforeFilter. The reason for this is the
> components are not loaded in the constructor of the 
> Controller.http://manual.cakephp.org/appendix/simple_user_auth


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