Some Hyperlinks May Fail When the Server Sends a VARY Header Response (824847)



The information in this article applies to:

  • Microsoft Internet Explorer 6.0
  • Microsoft Internet Explorer 6.0 SP1

SYMPTOMS

When you visit a Web site that contains a link to a file that will be opened outside Internet Explorer, and the Web site also includes the VARY header in the response to the client GET request, you may receive the following error message when you click the link and then click Open:

Error:
Cannot open the file path of a temp file.

CAUSE

The VARY header instructs the client not to use a cached file. Therefore, Internet Explorer does not write the .chm file to the hard disk. HTML Help requires a file. The VARY header response from the server is similar to the following:


"vary: accept-encoding, accept-language, cookie, user-agent, translate"

Internet Explorer does not fully implement the VARY header per Requests for Comments (RFC) 2616. The Internet Explorer implementation of VARY is that it does not cache any data except for Vary-Useragent.

MORE INFORMATION

This problem is known to occur with HTML Help files (.chm files) and vCard files (.vcf files). Other programs that are not listed in the "Applies To" section of this article may also exhibit this problem. Programs that open files directly in Internet Explorer, such as Adobe Acrobat, do not exhibit this problem.

Modification Type:MinorLast Reviewed:9/14/2006
Keywords:kbprb KB824847