content-disposition question for Windows XP, IE6
Posted on 2002-05-16
Hi, I am re-posting this question as I received no previous responses. I initially made the question 100 points, but have now upped the question to 200 points.
I am using the following lines to allow my ASP page (which is a company report) to be downloaded
as an MS Word doc file.
Response.ContentType = "application/vnd.ms-word"
Response.AddHeader "content-disposition","attachment; filename=" & strFileName
When I run the page from home, I am using Windows XP Professional and IE6. I get the dialog box which says "...open from location or save..." When I select open from location and click OK, it brings me right back to the same dialog box, "...open from location or save...", and this loop continues indefinitely.
The download works fine on all of our company computers which run Windows 2000 and IE5.5 and lower.
However, some employees who need to access this page remotely from their home systems or laptops may be using Windows XP and IE6; thus, I need to get this fixed.
I've looked around for documentation on this, but found nothing. Can someone please, at a minimum, point me to documentation (article or other) that discusses why this occurs and any possible fixes, or provide a fix for me.