Browser window closes on file download

G

Guest

Hi,
We're developing an ASP .NET web application, and have run into some
problems when testing on Windows XP SP2. The user browses to the index.htm
file and then clicks an open in new window link, which uses the javascript
command window.open, and loads index.aspx in this secondary window. From this
secondary window the user clicks a link to download a file. When the Save
File dialog pops up and they click 'Save', however, the secondary window
closes. Does anyone know why this would be the case, and how to get around
it? It seems to have been a bug in IE 5.5, but surely that would be fixed
now? It doesn't affect any other versions of Windows (XP SP1, 2003 Server etc
all work fine). Any solutions?
Thanks!
 
I

Iceman

This is similar to a problem that I have using Flash as an interface to download Word and Publisher documents. I use
gerURL() in Flash to open the file, but it automatically closes.If I try the same thing form a regular HTML/ASP page,
the window pops-up, and it warns me about the dangers of downloading files, then gives me the option to save or cancel.
Apparently, the problem is because the Flash app is calling for an ActiveX application, like Word, to execute on the
local machine, and Microsoft new security design is saying, "No-no."

Now this all happens on an XP machine with Service Pack 2 and IE. I do not have any problems on my Win2K machine with IE
or Firefox.

In the meantime, there is a workaround that I found in the online Help under the Pop-Up Blocker settings in IE. If one
clicks on the link while holding down the CTRL key, the link will open with the warning dialog box and give one the
option to save. After my research so far, the Microsoft Workaround is the easiest solution, and for the time being, I
have a notice on the site for visitors. However, if I cannot find a server side solutions from Microsoft or Macromedia,
then I may have to redevelop the app interface I created in Flash.

: Hi,
: We're developing an ASP .NET web application, and have run into some
: problems when testing on Windows XP SP2. The user browses to the index.htm
: file and then clicks an open in new window link, which uses the javascript
: command window.open, and loads index.aspx in this secondary window. From this
: secondary window the user clicks a link to download a file. When the Save
: File dialog pops up and they click 'Save', however, the secondary window
: closes. Does anyone know why this would be the case, and how to get around
: it? It seems to have been a bug in IE 5.5, but surely that would be fixed
: now? It doesn't affect any other versions of Windows (XP SP1, 2003 Server etc
: all work fine). Any solutions?
: Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top