469,642 Members | 1,261 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,642 developers. It's quick & easy.

IE vs. Firefox: Delay in receiving response from servlet using IFrame

Hi there, when I use Firefox to run my application (this involves
sending an IFRAME request to the servlet and handling the response),
there is no delay in displaying the data after each response. But when
I use IE, there seems to be a 1-2 second delay. The script sends a
request using IFrame, goes through a loop to return script tags
containing data to the browser, and then data is displayed by the
browser and a new request is sent. For IE, when a new request is sent,
the delay in receiving the response is quite noticeable. Why does it
do that? Any help would be much appreciated.

Feb 6 '07 #1
3 4163
Hi,

Sirix42 wrote:
Hi there, when I use Firefox to run my application (this involves
sending an IFRAME request to the servlet and handling the response),
there is no delay in displaying the data after each response. But when
I use IE, there seems to be a 1-2 second delay. The script sends a
request using IFrame, goes through a loop to return script tags
containing data to the browser, and then data is displayed by the
browser and a new request is sent. For IE, when a new request is sent,
the delay in receiving the response is quite noticeable. Why does it
do that? Any help would be much appreciated.
It would be interesting to know where the delay occurs, on the client or
the server. With IE, you can easily set up Fiddler to observe the HTTP
requests/response. Also, adding some time-logging code on the client and
on the server can help. The delay is probably rather on the client, but
it's a good start to know exactly where it occurs.

Greetings,
Laurent
Feb 7 '07 #2
On Feb 7, 3:00 am, "Laurent Bugnion [MVP]" <galasoft...@bluewin.ch>
wrote:
Hi,

Sirix42 wrote:
Hi there, when I use Firefox to run my application (this involves
sending an IFRAME request to the servlet and handling the response),
there is no delay in displaying the data after each response. But when
I use IE, there seems to be a 1-2 second delay. The script sends a
request using IFrame, goes through a loop to return script tags
containing data to the browser, and then data is displayed by the
browser and a new request is sent. For IE, when a new request is sent,
the delay in receiving the response is quite noticeable. Why does it
do that? Any help would be much appreciated.

It would be interesting to know where the delay occurs, on the client or
the server. With IE, you can easily set up Fiddler to observe the HTTP
requests/response. Also, adding some time-logging code on the client and
on the server can help. The delay is probably rather on the client, but
it's a good start to know exactly where it occurs.

Greetings,
Laurent
The delay occurs on the client side. I did a println in my servlet and
it doesn't seem to be the problem. I don't understand why it would be
delayed though.

Feb 7 '07 #3
VK
On Feb 7, 9:20 pm, "Sirix42" <tout...@gmail.comwrote:
The delay occurs on the client side. I did a println in my servlet and
it doesn't seem to be the problem. I don't understand why it would be
delayed though.- Hide quoted text -
Machines in question may have "fishing protection" or antivirus
activated for IE. Extra time may be needed to check the submission URL
(? just a guess)
Feb 7 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Muzzy | last post: by
1 post views Thread by Martial Spirit | last post: by
1 post views Thread by stroumf | last post: by
3 posts views Thread by Alexander Higgins | last post: by
reply views Thread by Wayne Deleersnyder | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.