Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I currently use XAMPP to dev locally on my Windows machine. I am trying to use multiple ajax calls in my javascript to get the status of an import I'm running. I believe I have the ajax, jquery, and php all working together correctly, but the ajax calls don't seem to process at the same time. This doesn't work for my scenario since I launch an import with one of the ajax calls (and I want to check the status throughout). I can also replicate the issue if I open a page that takes a little longer to load, and then try to load another page at the same time. The second page won't load until the first is finished loading. In my apache httpd.conf I have

ThreadsPerChild 250
MaxRequestsPerChild  4

So my question is, does XAMPP not handle multiple simultaneous requests? If so, what can I do to enable that or find out what my current issue is?

share|improve this question
1  
stackoverflow.com/questions/1430883/… (hint: it's probably the sessions) –  Mahn Jul 11 '12 at 16:40

1 Answer 1

up vote 0 down vote accepted

It is exactly what Mahn predicted. Session file locking. What an evil little trick. Starting and stopping the session every time I want to write to the session works though.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.