Are you using php sessions?
The start session call blocks untill the other script finishes.

Script A:
-> session_start();
-> do stuff for 30 sec

Script B:
-> session_start(); // waits 30 secs untill Script A releases the
session
-> do stuff for 2 sec

Suggestion solution:
Script A:
-> session_start();
-> take stuff from session
-> session_write_close(); // this will unlock the session for Script B
-> do stuff for 30 sec






On 2 jun, 23:58, dann <00d...@gmail.com> wrote:
> > $.ajaxSetup({async:true});
>
> I added that at the top of the $(document).ready(function() function,
> but I'm still getting the same result.
>
> > Btw, i work a lot with ajax and i've never had this problem.
>
> I'm wondering if maybe I'm not describing this problem properly... I
> feel like the trouble I'm having in finding information must be
> related to my lacking the correct terminology.
>
> The form is being submitted asynchronously in the sense that the
> interface can still be used before the results are received, but
> subsequent calls aren't made until the result of the first call is
> returned. I've had a bit of experience in setting up AJAX forms in the
> past, but I've never had a situation where the same form needed to be
> submitted multiple times in a concurrent fashion.
>
> Thanks again!

Reply via email to