adeel825
adeel825

Reputation: 5767

Why is XmlDocument.Load(url) returning a stale file?

I have an application written in .NET 1.1 that calls XmlDocument.Load on a URL. Just recently the xml file was updated. Now whenever I call XmlDocument.Load, the old file is returned. When I hit the same URL from a browser, I see the new file. I deleted all temporary files from IE and I still see the same issue. Any thoughts on why I am seeing a older version of the file when I access it programmatically?

Upvotes: 1

Views: 555

Answers (3)

adeel825
adeel825

Reputation: 5767

So it appears that there must have been some caching on the proxy and this cleared up by itself in 48 hours.

Upvotes: 0

cdonner
cdonner

Reputation: 37668

Just a guess, but try clearing your IE's browser cache. .NET HTTP is sitting on top of the same stack as IE and also share proxy settings, so I would not be surprised if the cache is shared, too.

Upvotes: 2

Oscar Cabrero
Oscar Cabrero

Reputation: 4169

delete also the ASP.net temporary files

Upvotes: 1

Related Questions