|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
DWR: IE Page Refresh Very SlowI am using DWR for developing a web-based chat application. Everything works great except one. This problem occurs only in IE. when i refresh the page (on which my chat application is running), the browser becomes very slow. The navigation icon on top right corner keeps on moving and status bar shows that 7 (or so...) items are remaining. But, here comes something more confusing- while IE is navigating like i just explained, if i send a message from a different browser to this particular user who has been stuck in with IE for some time, it suddenly stops its navigation and shows a Done status on the status bar. The message sent to this IE user, though, has not been received. This is noticeable. Though, sending a message to the IE user, escape him from a long continues navigation, he does not actually receive that message. After this, IE is in a good state and can send and receive messages without any problem.
I am using Util's addFunctionCall for notifying clients about any messages sent to them. |
|
|
Re: DWR: IE Page Refresh Very SlowWhat version of DWR are you using? Joe. On Tue, Apr 15, 2008 at 9:54 AM, Nitin Thakur <myegotrip@...> wrote:
|
|
|
Re: DWR: IE Page Refresh Very SlowI have done with this problem. It was occuring because i was not disabling ActiveReverseAjax on page unload. So, just like i do dwr.engine.setActiveReverseAjax(true) on page load, i did dwr.engine.setActiveReverseAjax(false) on page unload and that sort out the problem. by the way, i am using dwr-2.0.3
|
|
|
Re: DWR: IE Page Refresh Very SlowI got confused here, why should you call dwr.engine.setActiveReverseAjax(false) on page unload? if you do that, can users still receiving chatting messages? since after you set it to false, you turn off the ReverseAjax.
Am I missing anything? Thanks Dave
|
|
|
Re: DWR: IE Page Refresh Very SlowI do not think that such problem will occur. when i set reverse-ajax false, that affects MY browser only. remember, an instance of the same javascript is running somewhere on the client who is about to recieve the message. and he has not set his reverse-ajax false. so, technically he should recieve the message pushed by the server.
If i am about to recieve any message sent from other chatters, and in case i set the reverse-ajax false just before server tries to push the message. Than yes, i definitely not recieve the message. But, in my application, it does not going to affect. Because, i am setting it false only for the duration when the javascript function is not ready to be called from the server. so, whether reverse-ajax is true or false is of no concern between the time when a page unloads itself and than reload. |
|
|
Re: DWR: IE Page Refresh Very SlowOk, got you, thanks for your detailed explanation.
Dave
|
| Free Forum Powered by Nabble | Forum Help |