[jQuery] Problems with more than one AJAX request at a time

2008-12-12 Thread hotdog...@gmail.com
Hello there! I'm sending an AJAX request using jQuery that could take a minute to complete. However, I also want to send other smaller ajax requests to the same host at the same time just after the first one starts. The problem is, the smaller requests block until the first one finishes. Is there

[jQuery] Re: Problems with more than one AJAX request at a time

2008-12-12 Thread hotdog...@gmail.com
On Dec 12, 1:02 pm, "Josh Nathanson" wrote: > Yes, you should be able to fire the other requests.  Maybe you could post a > little code. Ah, thank you for your quick response! Here's the relevant part of my code: http://paste2.org/p/114906 This is in the section of my page. What I'm trying to d

[jQuery] Re: Problems with more than one AJAX request at a time

2008-12-12 Thread hotdog...@gmail.com
On Dec 12, 5:07 pm, "Josh Nathanson" wrote: > It looks like what you are doing there is called long polling, check this > out: > > http://en.wikipedia.org/wiki/Comet_(programming) > > -- Josh Ah, thanks for pointing me to that. Unfortunately, it doesn't seem to work in jQuery. As far as I can t

[jQuery] Re: Problems with more than one AJAX request at a time

2008-12-13 Thread hotdog...@gmail.com
On Dec 13, 11:05 am, George wrote: > It has nothing to so with AJAX. > You did not say what you using on your server side so i can not tell. > > But a lot of frameworks like ASP or ASP.NET will serialize requests > made from the same Sesssion (browser). To avoid programmers having to > manage con