小编Tro*_*ror的帖子

ASP.NET Forms Authentication阻止在Login.aspx上加载javascript

我遇到表单身份验证问题.当我尝试加载我的Login.aspx页面时,javascript和样式表都不会加载.这是我的web.config文件的一部分

        <authentication mode="Forms">
        <forms loginUrl="Login.aspx"
               timeout="30"
               name=".ASPXAUTH"
               path="/"
               requireSSL="false"
               slidingExpiration="true"
               defaultUrl="Main.aspx"
               cookieless="UseDeviceProfile" />
    </authentication>

    <authorization>
        <deny users="?" />
    </authorization>
Run Code Online (Sandbox Code Playgroud)

请帮助我,了解正在发生的事情.

javascript asp.net authentication webforms

5
推荐指数
1
解决办法
4819
查看次数

标签 统计

asp.net ×1

authentication ×1

javascript ×1

webforms ×1