Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why is my Ajax page not updated properly when using an HTTP GET request in Internet Explorer_?

0
Posted

Why is my Ajax page not updated properly when using an HTTP GET request in Internet Explorer_?

0

Browsers cache the results of HTTP requests to reduces network traffic. To force the browser to request the document from the server, either set the EXPIRES and/or CACHE-CONTROL response header(s) with a past date or use a unique query string. req.open(“GET”, “/example.jsp?date=” + (+new Date), true); Always use the appropriate HTTP method. Do not use POST to prevent caching. See RFC 2616 .

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123