Stu*_*ser 0 asp.net security firefox configuration image
我在虚拟目录上运行一个网站.
该网站的网址是 http://localhost/virtalDirectory/pages.aspx
我有一个图像从以下目录heirarchy加载到页面上:
parent directory
..images
....my image
..myPage.aspx
我的img标签是
<img src="images/imageName.gif" alt="some text"/>
在IE8中加载时,图像正确加载,但在Firefox3中加载时,系统会提示我登录localhost,它似乎是一个Windows文件浏览器登录.
我在images目录中有一个web.config:
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
<img src="~/images/imageName.gif" alt="some text" runat="server"/> to allow asp to resolve the address of the image at run-time. Which does not resolve the problem.
http://localhost/virtalDirectory/pages.aspx到图像目录web.config.哪个不能解决问题.
| 归档时间: |
|
| 查看次数: |
734 次 |
| 最近记录: |