$this->Auth->user();

or pr($this->Session->read()); to see what you have available.

... it's all in the manual by the way.

On Jan 8, 5:21 pm, "Chad Casselman" <[email protected]> wrote:
> I have the basic Auth working, but there isn't any information in the Session.
>
> I was trying to use the code I found to access the logged in user's info by:
> $this->Session->read('User.id')
>
> My login function is just
> function login() {}
> // using automagic
>
> What do I need to do to keep the login working but also store the
> user's info in the session?
>
> Chad
--~--~---------~--~----~------------~-------~--~----~
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