CakePHP Sessions and Ajax (ExtJs)

2008-07-01 Thread killerboy
Hi, I am using CakePHP seesion together with the ExtJs libary. I have some strange issues with my sessions, that are just lost if I try to do a Ajax call or any other call from ExtJs. I am checking via sessions if anybody is logged in. But this is not possible because the data stored in the

Re: CakePHP Sessions and Ajax (ExtJs)

2008-07-01 Thread John David Anderson
If cake realizes that he user agent is different, it'll nix the session due to security concerns. There are some settings in core.php that turn that checking off - you might play with them, realizing the security implications. -- John On Jul 1, 2008, at 10:26 AM, killerboy wrote: Hi,

Re: CakePHP Sessions and Ajax (ExtJs)

2008-07-01 Thread James K
Weird - I'm using CakePHP along with ExtJS and haven't had any problems with sessions. I had to turn my session security level down in order to prevent the frequent timeouts, but beyond that, everything was cool. Try enabling the RequestHandler component. It has some automagic built- in that