BUG: URLs in classid Attribute of <OBJECT> Tag Are Not Cached Correctly (328806)



The information in this article applies to:

  • Microsoft Internet Explorer (Programming)

This article was previously published under Q328806

SYMPTOMS

To host WinForms controls in Internet Explorer, it is standard practice to use the classid attribute to point to a URL. If an HTML page contains multiple <OBJECT> tags, and if the classid attribute points to the same URL, multiple GET requests are made. Because each GET request is not an if-modified-since request, the response always contains all the data.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

Steps to Reproduce the Problem

  1. Use the following code to create an HTML file that is named Test.htm and that hosts several controls:
    <HTML>
    <BODY bgColor="#cccccc">
    <OBJECT id="control1" classid="testx.htm"></OBJECT>
    <OBJECT id="control2" classid="testx.htm"></OBJECT>
    <OBJECT id="control3" classid="testx.htm" width="100%"></OBJECT>
    <OBJECT id="control4" classid="testx.htm"></OBJECT>
    test
    </BODY>
    </HTML>
  2. Create an HTML file that contains arbitrary test data, and then name the file Testx.htm.
  3. Save Test.htm and Testx.htm on a Web server.
  4. Start a network trace, and then open the Test.htm page in Internet Explorer. You see several requests for Testx.htm.

Modification Type:MinorLast Reviewed:1/12/2004
Keywords:kbbug KB328806