CAUSE
The MSXML2.DomDocument load method relies on Urlmon to load the file. When it calls Urlmon, MSXML2.DomDocument sets the BINDF_RESYNCHRONIZE flag. This results in a conditional GET request being sent to the server if the data is already in the cache.
BINDF_RESYNCHRONIZE is used because of an Internet Explorer issue that causes undated documents to stay in the cache indefinitely. This issue has been fixed in Internet Explorer 5.5 Service Pack 2 and Internet Explorer 6. For additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
274077 PRB: External Content Is Resynchronized on Form Submit
RESOLUTION
A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Microsoft XML service pack that contains this hotfix.
To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:
NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
The English version of this fix should have the following file attributes or later:
File name Size Date Version
------------------------------------------------
Msxml3.dll 1,108,992 Oct-20-2001 8.10.9019.0
Msxml3a.dll 24,576 Oct-20-2001 8.10.9019.0
Msxml3r.dll 44,032 Oct-20-2001 8.10.9019.0
Xmlinst.exe 28,672 Oct-20-2001 6.0.2462.0
After you install this hotfix, you can use a new property that is named
ForcedResync with the default value set to True. You can do this to keep the current behavior (a conditional GET request) for existing programs. You must set this property to False to suppress resynchronization (to prevent XML from using BINDF_RESYNCHRONIZE). To do this, use this method:
set dom = CreateObject("MSXML2.DOMDocument.3.0")
dom.async = False
dom.setProperty "ForcedResync", False
dom.load "http://someserver/somefile.xml"
To avoid any problems when you set
ForcedResync to False, documents must have expiration dates, or the client must be Internet Explorer 5.5 Service Pack 2 or Internet Explorer 6.