thanks, I already know this trick.
Isn't there an option which is supported by VB language?
Main Topics
Browse All TopicsHi,
I need my HTTP request to always be loaded from the web , and never be taken from the browser's cache.
How do I do it? is there some kind of parameter to the XMLHTTPRequest.Open command?
thanks,
Nimrodon.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Not too sure, you may try call the DeleteUrlCacheEntry API just before you call the xmlhttp object, to see if it remove the cache or not...
http://www.allapi.net/apil
try something like:
Private Declare Function DeleteUrlCacheEntry Lib "wininet.dll" Alias "DeleteUrlCacheEntryA" (ByVal lpszUrlName As String) As Long
Private Sub Form_Load()
URL = "http://yourdomain.com/you
DeleteUrlCacheEntry URL
Dim xmlHttp As MSXML.XMLHTTPRequest
Set xmlHttp = New MSXML.XMLHTTPRequest
xmlHttp.Open "GET", URL, False
xmlHttp.Send
MsgBox xmlHttp.Status
Debug.Print xmlHttp.responseText
Set xmlHttp = Nothing
End Sub
see if this works?
Business Accounts
Answer for Membership
by: ryancysPosted on 2006-10-05 at 09:21:13ID: 17670011
You may try add some "dummy parameter at the end of your url, so that we can ensure the response is always not loaded from cache. like:
rpage.html "
Private Sub Form_Load()
Randomize
rndkey = Int(Rnd * 100000")
Dim xmlHttp As MSXML.XMLHTTPRequest
Set xmlHttp = New MSXML.XMLHTTPRequest
URL = "http://yourdomain.com/you
xmlHttp.Open "GET", URL & "?rndkey=" & rndkey, False
xmlHttp.Send
MsgBox xmlHttp.Status
Debug.Print xmlHttp.responseText
Set xmlHttp = Nothing
End Sub
hope this helps