Microsoft KB Archive/238588

= Internet Explorer Prompts the User with Two Open or Save Dialog Boxes =

Article ID: 238588

Article Last Modified on 1/24/2007

-

APPLIES TO


 * Microsoft Internet Explorer 5.5
 * Microsoft Internet Explorer 5.0
 * Microsoft Internet Explorer 5.5
 * Microsoft Internet Explorer 5.5
 * Microsoft Internet Explorer 5.0
 * Microsoft Internet Explorer 5.5
 * Microsoft Internet Explorer 5.0
 * Microsoft Internet Explorer 5.5
 * Microsoft Internet Explorer 5.0
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0

-



This article was previously published under Q238588



SUMMARY
You may be prompted with two Open or Save dialog boxes when you use Internet Explorer to connect to certain Web pages under the following conditions:
 * Neither a file name nor an extension is specified in the Uniform Resource Locator (URL) of a Get request.

-and-


 * The server replies with both a registered "Content-Type" header and the "Content-Disposition: attachment; filename=" header which specify the file name that you want.



MORE INFORMATION
Because neither a file name nor an extension is defined in the URL for the Get request, Internet Explorer does not know what type of data to expect in the response; therefore, Internet Explorer sets a default Octet-Stream data type.

This data type causes Internet Explorer to display the Open or Save dialog box with the file name information that indicates the Active Server Pages (ASP), Common Gateway Interface (CGI), or PerlScript file that had been located in the URL for the Get request.

If you open the document, Internet Explorer examines the data type that is currently set for Octet-Stream. Because this is an ambiguous data type and there is no file name or extension information in the URL, Internet Explorer looks for additional headers and finds the "Content-Type" and "Content-Disposition: attachment; filename= " headers.

Because the file name and extension is specified in the "Content-Disposition: attachment; filename=" header and the data type is defined in the "Content-Type" header, you are prompted with a second Open or Save dialog box that contains the correct file name information.

To resolve this issue in Internet Explorer 5.5 only, update to Service Pack 2. 