469,290 Members | 1,913 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,290 developers. It's quick & easy.

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 4709
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Kevin Muenzler, WB5RUE | last post: by
reply views Thread by PJS | last post: by
reply views Thread by Buddy Ackerman | last post: by
4 posts views Thread by Nathan Sokalski | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.