424,066 Members | 2,120 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,066 IT Pros & Developers. It's quick & easy.

browser resends ajax request?

Expert 2.5K+
P: 3,402
I have a web app that updates a very large file. processing time takes around 45 seconds (and this is good. there might be ways to trim that down, but it is seriously a huge file). I use (old-school) ajax (not jquery) to call a web service that runs through the file, it checks for errors and updates a database. everything seems to be working EXCEPT that the browser keeps re-sending the ajax request every 30 seconds if it doesn't get a response. and my web server just starts a new thread each time.

Is this a behavior I can change or prevent?
1 Week Ago #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 5,192
well - apparently this can happen under some circumstances like here:




for me it seems that retrys can be valid behaviour thus i think somehow it should be handled by the software - in case the performance cant be improved to avoid the timeouts.
6 Hours Ago #2

Post your reply

Sign in to post your reply or Sign up for a free account.