On Wed, Jul 1, 2009 at 12:26 PM, dgw<[email protected]> wrote:
>
>> Using the Developer add-on for Firefox, the session cookie is still
>> there (same one as well), just cannot retrieve Auth.User from the
>> session, only when I first authenticate (POST).
>
> Have you tried reading that data with $this->Auth->user();
>

I'm doing a pr($_SESSION); there's no Auth key beyond when it first
gets set in AuthComponent->login -- i.e. if I make a GET request to
any other controller and spit out pr($_SESSION) in any other action
(including calling GET on /users/login again; I've set autoRedirect to
false), it's immediately gone.  $_SESSION itself seems to be intact --
there's a  [_Token] key consistently, but I just don't see why it's
not persisting beyond the initial set when POSTing (logging in).

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