[dba-VB] FYI and records: XMLHttpRequest and Caching

Jim Lawrence accessd at shaw.ca
Fri Oct 26 00:57:05 CDT 2012


Hi Shamil:

That problem use to be the case but our modern browsers have long since
resolved it...not sure of IE as I do not general develop it.

Jim

PS The article you linked to is seven years old. 

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov
Shamil
Sent: Thursday, October 25, 2012 9:25 PM
To: Discussion concerning Visual Basic and related programming issues.
Subject: [dba-VB] FYI and records: XMLHttpRequest and Caching

Hi All --

If you use XMLHtppRequest (with MSXML) you may meet with a nasty caching
issue.
Description and solution is
here: http://www.subbu.org/blog/2005/10/xmlhttprequest-and-caching - the
solution from Marco Dorantes worked well for me:

request.setRequestHeader(“If-Modified-Since”, “Sat, 1 Jan 2000 00:00:00
GMT”);

The other ones proposed in the referred above article and comments didn't.
I do use Win7 and IE 9.0.8112.16421

Thank you.

-- Shamil
XMLHttpRequest and Caching
_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com





More information about the dba-VB mailing list