0
我正在使用表單身份驗證方法創建登錄頁面。 我已在登錄頁面中插入圖像,但圖像在瀏覽器中不可見,如在Visual Studio的設計視圖中查看的那樣。在Forms Authentication中的登錄表單上顯示圖像
我認爲這是由匿名訪問user.I圖像目錄中的問題,已經使用在Web.config中
下面的代碼<location path="/images">
<system.web>
<authorization>
<allow users ="*" />
</authorization>
</system.web>
</location>
當您右鍵單擊並在您的網頁上看到圖像細節時,您會看到什麼? – Quannt
它在瀏覽器中不可見 –