IIS serving only 1 ASP page at a time?

I have a strange problem. Or at least my code does…

On a page, I’m using JavaScript’s HTTPRequest object (in “ajax” fashion) to get some data from an ASP script.

At the same time, I use a second HTTPRequest object to get some more data from another ASP script.

The first script takes a few seconds to complete, but the second should return immediately. However, both return at the same time, after a few seconds. It’s as if IIS is not serving them asynchronously, which is weird.

I have set up a test page which simulates this effect:
http://www.activeorg.com/testrequest/

The source code can be downloaded if anyone wants to investigate why this is happening.. any ideas welcome, this is a real hair-puller!
Source: http://www.activeorg.com/testrequest/testrequest.zip

Thanks for any help. Would love to know why this isn’t working right.

[edit] what makes this extra-weird, is that when running it after waiting a while, it DOES work as intended (second script returns before the first). Subsequent tries result in both scripts returning at the same time. argh! :slight_smile:

Update: I changed the ASP scripts to ASPX .net scripts and now they work properly - the second returns before the first! At least it does on the live server - locally here they still run one at a time. :frowning:

The .NET test scripts:
http://www.activeorg.com/testrequest/defaultx.html

So the problem seems to be is with classic ASP I think..

[ed] I take that back.. .net sometimes works, sometimes doesn’t… as if it might choose to run a new thread or not for some arcane reason. Very weird.

it seems both are not working for me on firefox