Multipart/mixed in IE
Posted on 1998-05-01
I have the following code sample written in C for a CGI. I want to download a file (a zipped file for the same of argument in this example) and at the same time show a new page.
printf("this is the first data\n\n");
printf("this is the display data\n\n");
This all works fine when running any Netscape browser than I've tried. It prompts me to save the file and then displays the new page.
Different story in IE... it shows the following in the browser:
this is the first data
this is the display data
It doesn't parse the multipart stream.
1. Does IE support the multipart/mixed MIME type?
2. If so, what's wrong with my code?
3. If not, what other options do I have to accomplish the same thing. I've thought about displaying the web page first with a META refresh tag set to 0 seconds that points to the file, but this (for security reasons) is not at all a good solution.
Any help would be greatly appreciated.