Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML not displaying

Status
Not open for further replies.

ResolutionsNET

IS-IT--Management
Jul 31, 2000
70
GB
I'm writing a ASP app that transforms a XML file, this works but on changing the code no XML is displayed to the browser. If I reboot the machine, It works. It looks like some caching problem.

Any ideas?

Ta
 
Hi, I've had a similar problem when using javascript to transform and xml doc. It is a caching problem. You have to force the window to reload in javascript is was like this:

document.close()

Hope that this helps!
~Deeba~
 
yes... it is cacheing. but rebooting is a bit drastic, dont you think??!

Make sure the web options for this directory in IIS (if that is what you are using) have the caching disabled. (Right click on the folder that contains your ASP pages in the IIS console, and disable caching for ASP pages).

You can also add a "response.expired = -1" to the top of the ASP page, which will expire the page every time you call it.

Hope that helps.

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top