Article ID: 267991
This article has been archived. It is offered "as is" and will no longer be updated.
Despite the "Content-Disposition: attachment" HTTP response header, Internet Explorer does not prompt the user to save the file and instead automatically displays the file in the browser.
To resolve this problem, obtain the latest service pack for Internet Explorer version 5.5. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/276369/EN-US/ )How to Obtain the Latest Internet Explorer 5.5 Service Pack
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Internet Explorer version 5.5 Service Pack 1.
Not all content types are affected by this bug. Only default content types such as HTML and text files fail to show a File Download dialog box.
Steps to Reproduce BehaviorThe following Active Server Pages (ASP) page reproduces the problem:
For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites: