Hmm, no one else having/had this problem?

In the meantime I've added the following to force a session start in
my beforeFilter:

        if (isset($_POST[CAKE_SESSION_COOKIE])) {
                session_name(CAKE_SESSION_COOKIE);
                session_id($_POST[CAKE_SESSION_COOKIE]);
        }
        session_start();

It seems to work for now - but I'd still like to know why the session
isn't being started before my before filter in ajax requests but it is
being started before the before filter in normal requests.

Regards
Jeremy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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