473,382 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

force a file download dialog in asp does not work in IE 5.5 SP1

hi,
guys i am using the following code to force a file download dialog in
asp

Response.ContentType = "application/vnd.ms-excel"
response.AddHeader "content-disposition","attachment; filename=" &" &
StrFileName

Now the it works fine in ie5.5 sp2 but no ie5.5 sp1 it prompts the
user twice the open dialog box.

i found on microsoft site that it bug in ie 5.5 sp1 and it says to
upgrade to sp2.
but my users are not willing to ugrade there ie.
can you please help me out how can work this in ie5.5 sp1 or anyu
other way to force a file download...
Jul 20 '05 #1
1 4901
Navin wrote:
hi,
guys i am using the following code to force a file download dialog in
asp

Response.ContentType = "application/vnd.ms-excel"
response.AddHeader "content-disposition","attachment; filename=" &" &
StrFileName

Now the it works fine in ie5.5 sp2 but no ie5.5 sp1 it prompts the
user twice the open dialog box.

i found on microsoft site that it bug in ie 5.5 sp1 and it says to
upgrade to sp2.
but my users are not willing to ugrade there ie.
can you please help me out how can work this in ie5.5 sp1 or anyu
other way to force a file download...


No, there's no way to fix it. It's a bug. Microsoft has acknowledged it's
a bug. Microsoft provided a fix for the bug. Use the provided fix.

Tell your users that if they are running Internet Explorer 5.5 Service
Pack 1, they are vulnerable to numerous security vulnerabilities and that
they should upgrade to Internet Explorer 5.5 Service Pack 2 (providing
you have a copy downloaded, you can't get it from Microsoft any longer)
and the latest Cumulative Patch <url:
http://www.microsoft.com/technet/sec...n/MS03-032.asp /> as
soon as possible.

Of course, even Service Pack 2 will soon cease to be supported <url:
http://www.microsoft.com/windows/ie/...5exsupport.asp /> at which
point you won't be able to get /any/ security patches for it.

--
| Grant Wagner <gw*****@agricoreunited.com>

* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/...ce/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/a...ence_entry.asp

* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 7 / Mozilla
* http://www.mozilla.org/docs/web-deve...upgrade_2.html
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Navin | last post by:
hi, guys i am using the following code to force a file download dialog in asp Response.ContentType = "application/vnd.ms-excel" response.AddHeader "content-disposition","attachment; filename="...
4
by: Kevin Muenzler, WB5RUE | last post by:
How do I force a browser to download a file instead of displaying it? In other words I have a page with MP3 and WMA files on it and I would like for the visitor to download the file instead of...
0
by: PJS | last post by:
Thanks in advance. I have a site which generates a user specific XML document. The user then selects "Save to PC" which then forces the browser to show the "save/download" dialog box. The code...
0
by: Buddy Ackerman | last post by:
I am trying to implment a file download via a link such that when clicked, instead of starting the default application for that type of file the user will be presented with a download dialog...
7
by: theyas | last post by:
How can I get my code to NOT display two "Open/Save/Cancel/More Info" dialog boxes when using the "Response.WriteFile" method to download a file to IE I've asked about this before and didn't get a...
1
by: Roy | last post by:
Hi, I have a problem that I have been working with for a while. I need to be able from server side (asp.net) to detect that the file i'm streaming down to the client is saved...
4
by: Nathan Sokalski | last post by:
I want to give visitors to my site the option of downloading a generated ..txt file by clicking a button. I know how to generate text files, but how do I cause the browser to pop up one of those...
0
by: jinnareddy | last post by:
Hi, I'm unable to download a file that is having a 2-byte char in its name (e.g.テ) using force download option. Though, am able to download file names involving ASCII chars. I have tried URL...
1
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.