[jQuery] Re: Form plugin asynchronous behavior

2009-06-09 Thread Dutch
test

[jQuery] Re: Form plugin asynchronous behavior

2009-06-09 Thread Dutch
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: -

[jQuery] Re: Form plugin asynchronous behavior

2009-06-09 Thread dann
Wow -- that answer turned out to be both 100% correct and completely off-topic for this forum! Thanks so much Dutch, I'm incredibly glad you happened to spot this post and comment on it. I'd been barking up the wrong tree and don't even want to think about how long it would have taken me to track

[jQuery] Re: Form plugin asynchronous behavior

2009-06-02 Thread Gustavo Salomé
Be sure to set the ajax param 'async' to true. 2009/6/2 Mike Alsup mal...@gmail.com The problem I'm having is that the form submissions seem to be queued and submitted synchronously, so if a user submits a request that takes say 30 seconds and then immediately submits another request that

[jQuery] Re: Form plugin asynchronous behavior

2009-06-02 Thread dann
Thank you both for the help! Is the 30 second request a file upload? No file uploads involved: it's just a single text input that's submitted, but the processes on the server can take awhile. Be sure to set the ajax param 'async' to true. In the ajax docs it looks like it's set to true by

[jQuery] Re: Form plugin asynchronous behavior

2009-06-02 Thread Gustavo Salomé
Try $.ajaxSetup({async:true}); I think its the only reasonable explanation. Btw, i work a lot with ajax and i've never had this problem. 2009/6/2 dann 00d...@gmail.com Thank you both for the help! Is the 30 second request a file upload? No file uploads involved: it's just a single text

[jQuery] Re: Form plugin asynchronous behavior

2009-06-02 Thread dann
$.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