links in IE6.0
-
-
Hello, I need to create link to a word document in my aspx page, but my explorer always opens this link. What I need is that explorer ahould offer to download this document. I don't want to use save target menu. Is there any way to solve this problem?
Why don't you check the source code of shareware sites (webattack.com for instance). I know you are only going to see the client-side but, believe me, check out the html source, and add a tcp sniffer (http spy), and this should enough to understand how to reproduce the trick. Good luck!
-
Hello, I need to create link to a word document in my aspx page, but my explorer always opens this link. What I need is that explorer ahould offer to download this document. I don't want to use save target menu. Is there any way to solve this problem?
-
I heard that I need to send out some headers that shows that it will be a some kind of document??????
May be the solution is to strip the
Content-type
HTTP header so the web browser cannot do anything relevant about the content but offer the user to download it. -
May be the solution is to strip the
Content-type
HTTP header so the web browser cannot do anything relevant about the content but offer the user to download it.Now I have a totaly clear page, with no html tags at all. On page load I call method Response.ClearHeaders(), I think this one clears all headers. And then I redirect it to a word document. But it still opens it in IE. How to make it to offer me to download it??? Any ideas? thanx
-
Now I have a totaly clear page, with no html tags at all. On page load I call method Response.ClearHeaders(), I think this one clears all headers. And then I redirect it to a word document. But it still opens it in IE. How to make it to offer me to download it??? Any ideas? thanx
Marix wrote: I call method Response.ClearHeaders(), I think this one clears all headers. Yes. Marix wrote: How to make it to offer me to download it??? Would you mind using whatever IIS extension to zip the .doc file before it's transmitted ? Or even make sure that .doc files are always actually .zip files. Doing so is enough to ensure the file gets downloaded instead of rendered.
-
Marix wrote: I call method Response.ClearHeaders(), I think this one clears all headers. Yes. Marix wrote: How to make it to offer me to download it??? Would you mind using whatever IIS extension to zip the .doc file before it's transmitted ? Or even make sure that .doc files are always actually .zip files. Doing so is enough to ensure the file gets downloaded instead of rendered.