In my vbscript file, I am using the Microsoft.xmlhttp object to access my .txt file on my web server. I have changed the file’s content, but the vbscript keeps showing the old content of the .txt file. I have no idea what could be causing this and I tried it with multiple vbscripts, all with the same problem but no error generated.
Any help is much appreciated.
EDIT: Send the request to this url:
url & "?t=" & Now() & " " & Timer()
To avoid caching.
It could be that the data is cached and if your URL doesn’t change, you get the old, cached data. Try adding a date / time parameter to your AJAX call: