On Sat, Jul 11, 2009 at 10: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.

Are you getting an "header already sent" errors in your login/logout?
I had some whitespace after an end tag (?>) in my Users controller;
session's weren't been written on the client-side.

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