BTW I'm also adding those headers on the servlet that pull the
messages and render it back to the user.

Regards

On 9/13/06, Vinicius Carvalho <[EMAIL PROTECTED]> wrote:
Sorry about the OT, but since we have some masters of Ajax/JS here,
I'm giving a shot.

Today we experienced problems with our chat application. When running
in clients that pass though a proxy, and use IE (this does not happens
to Mozzila browsers). The user receives only the same message, and
loops through it. What really happens is that the request never made
to the server, so the user get the same message over and over.

To try to bypass it. I've add the following to the function that polls
the server:

http_request.setRequestHeader("Cache-Control","no-store, no-cache,
must-revalidate");
http_request.setRequestHeader("Cache-Control","post-check=0, pre-check=0");
http_request.setRequestHeader("Pragma", "no-cache");

But the errors keep happening.

Does anyone has any idea on how can I solve this?

Regards



--
Oracle AS is the worst application server in the world. Avoid it at
all cost. You always have alternatives:
Jboss, Websphere, BEA, Geronimo, Jonas, anything is better than that.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to