I have a problem with my session whenever I do an ajax call.

When I do single ajax calls, I do not have a problem at all. It works
perfectly fine.
Session will expire after 20mins. As per normal.

But when I do 2 simultanous ajax calls, my first ajax call will
succeed but my second reply is a "session expired" reply(which I set
as a reply for session expire).
My subsequent ajax calls are all "session expired" replies.
It seems that 2 simultanous ajax calls will cause the session to
expire immediately.

I'm redirected to the login page if I go to another page(which I set
when session is expired).

Am I not allowed to do 2 simultanous ajax calls?
Should I implement a "queue system" for ajax calls instead?

My system specs are:
Window XP
CakePHP 1.1.18.5850
Scriptaculous 1.8.0
Apache 2.0
PHP Version 5.2.5
FireFox 2

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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