Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9198311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T22:15:22+00:00 2026-06-17T22:15:22+00:00

In my vbscript file, I am using the Microsoft.xmlhttp object to access my .txt

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T22:15:23+00:00Added an answer on June 17, 2026 at 10:15 pm

    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:

    objReq.open("GET", "[your url]?_t=" & Replace(CStr(CDbl(Now())), ".", ""), True)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a simple file browser on our intranet, built using ASP/vbscript. The files
i created a text file list.txt in commonapplicationdatafolder by using the following VBscript.i am
I want to run vbscript file using cscript.exe. i searched a lot but did'nt
I'm using CScript to run a VBScript file, and I need to pass a
I'd like to load a string as an html file using MSHTML in VBScript
i am using vbscript to call a batch file. my script looks like: dim
I have a vbscript file that I want to run in my vb.net application.
Ok I have a vbscript string in a wsf file as below: Dim strTransData
I have read this entry (http://stackoverflow.com/questions/8513185/vbscript-to-correctly-re-format-a-delimited-text-file) many times and still do not understand the
I know how to create a text file using VBScript which is shown below:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.