IE6 download bug & workaround

T

Tole

Hi,

I have download search result as .cvs feature implemented in pages I'm
working on. I'm calling it by submitting form (post) and I output header for
download file and it works almost fine. Almost, because there are two
problems. The first is when you chose open file, same IE download dialog is
shown twice, and the second is when you chose save file, JavaScript in
original window throws "access denied" error.
ok, first problem is not so bad, but this second is the one that is really
problematic (for users - they have to refresh window to continue with work).
So I searched the net and I found MS recommended workaround - to set form's
target attribute to invisible iframe element. Yes, it's working, JavaScript
works properly after saving file, but .... when I try to submit form to
another action (not download - just straight output - target="_self") IE6
crashes (famous "We are sorry for the inconvenience." message).

I'm working in PHP/Apache and only for IE6 (lucky me :) )

Tole
 

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

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top