« Return to Thread: Page load pauses until reverseAjax reply in IE

Re: Re: Page load pauses until reverseAjax reply in IE

by Thomas Manson :: Rate this Message:

Reply to Author | View in Thread

Which version of DWR are you using ? IE6 or IE7 ?
 
I had the same issue with dwr 2.0.3 under IE6.
Upgrade to 2.0.4 solve the issue.
 
Thomas

 
On 4/22/08, Erlend Sobec <erlend.sobec@...> wrote:
I forgot to mention that the aditional JavaScripts and page components are loaded using AJAX, so they are subsequent requests.  So what I'm experiencing my be due to the maximum two simultaneous connections in IE.  I read about that but didn't find a solution.

I modified my code a bit to call setActiveReverseAjax(true) only after all my other scripts have loaded.  This seems to solve the problem I was having before, even though it's not a solution as the order of execution should not matter in this instance.  So now even though there seems to be no pause during page load, if I click on any link on the page after it's done loading, it still pauses for up to 60 seconds.

Erlend



On Tue, Apr 22, 2008 at 12:11 PM, Erlend Sobec <erlend.sobec@...> wrote:
My website used DWR for reverse AJAX among other things.  It loads several JavaScript files for various components on the page.  Everything works fine in FireFox, but in IE after the setActiveReverseAjax(true) line is executed, all other scripts and page elements stop loading until the response to the setActiveReverseAjax(true) is received.  IE seems to load scrips in different orders every time, sometimes it executes the setActiveReverseAjax(true) before it loads anything else causing the display of a blank page for up to 60 seconds.
 
Am I doing something wrong?  Is there a way to force IE to continue loading the rest of the contents while it's waiting for the response to setActiveReverseAjax(true)?
 
Thanks,
 
Erlend


 « Return to Thread: Page load pauses until reverseAjax reply in IE