Re: Ajax and Sessions

2008-12-08 Thread JermWorm
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]); }

Ajax and Sessions

2008-12-07 Thread JermWorm
I'm trying to upgrade and app from an older beta of cake to RC3. In my app_controller, I have a before filter that checks whether the user is logged in via a session variable, but in the course of debugging I've noticed that the session variable isn't there(i.e. session not started?) when ajax