开发者

Download file prompt on localhost

"To protect your security internet explorer blocked this site fr开发者_开发百科om downloading files to your computer" is message that I get when I want to download file from deployed website and it is causing me HttpException. How can I provoke IE8 to prompt me the same message when I run my web application locally. (localhost:4445) ??


localhost is treated as a Trusted site and this allows you to download files without that prompt. What you could try (I have never tried it) is to use your IP address (but not loopback address 127.0.0.1) instead of localhost.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜