I have a web application and use ajax to call back to my webserver to fetch data.
Sometimes(at rather unpredictable moments, but it can be reproduced) IE hangs completely for 5 minutes(the window says Not Responding) and then comes back and the xmlhttprequest object responds with error 12002.
The way I can reproduce it is as follows.
- Open window(B) from main window(A) using button
- Window A calls synchronous ajax(PROC1) when button is clicked to open window B. PROC1 Runs file.
- New window(B) has ajax code(PROC2) and calls server asynchronous. Runs fine
- User closes Window B after PROC2 completed but before data is returned.
- In Main Window(a) user clicks button again. PROC1 runs again but now the send() call blocks for 5 minutes.
Please help. I've been looking for 3 days.
Please note: * I can't test it in firefox (the app is not firefox compatible) * I have to use synchronous calls (that's the way the app is constructed and it would take too much developer effort to rewrite it)
Why does this happen and how to I fix this?