I assume you are using Auth component. Which means you can use $this-
>Auth->user('id') and it should give you the users id. And to see
whatever variables are stored for that user you can just debug it debug
($this->Auth->user()) or You could just read the cookie as well if you
really need to.On Jul 11, 7:35 pm, damanlovett <[email protected]> wrote: > I am SO new to Cakephp, although I love it I am having problems with > my first app. I have been reading every possible article, book, and > blog about sessions, but I can't get it right. > > I am trying to store the user's id and name in a session variable > during the login process. Is there a simple way writing the the id and > name in a session so I can use it throughout the site. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
