Hi Guys,

I am calling the Auth component in the app_controller class.

It work fine for logging in and out but now I need to add one more
constraint to user login.

For that I tried using the isAuthorized but weirdly its not used by
login.

Its called on logout.

I know this because I put debug() function in there.

I tried declaring the Auth component in the User class as well but no
luck.

I tried removing Auth component from app_controller but still same.

One more thing, is it normal for cakePHP to produce multiple sessions.

In my application, there is only one session but on the call of
setFlash it creates another session and when I try to write something
to it using $this->Session->write('style', 'main'); it creates
another.

Experts out there pls help!

Thanks

Vishal
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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