Apr 17, 2012, 11:29 AM
Communication failure error in non-IE browser
I've experienced this issue when working with non-IE browsers.
My application needs to save the state of the page, so I register my logic in "WindowUnload" even. Literally, all I do is to make a call to the server side:
I tried to Google around and ended up to this thread EXT.Net "communication failure" window popping up in non-IE browsers
The symptom is alike and I hopefully think that they have the same root cause. But how can I set the time-out for DirectMethod programatically in JavaScript code?
My application needs to save the state of the page, so I register my logic in "WindowUnload" even. Literally, all I do is to make a call to the server side:
Ext.net.DirectMethods.MyCleanUpDirectMethod()
This code works perfectly fine in IE, but for Firefox and Chrome, it immediately throw an "Communication Error". I have an impression that the browser doesn't even try to communicate to server. When I try to resend the request using Firebug, it works as expected.I tried to Google around and ended up to this thread EXT.Net "communication failure" window popping up in non-IE browsers
The symptom is alike and I hopefully think that they have the same root cause. But how can I set the time-out for DirectMethod programatically in JavaScript code?