<system.web>
<compilation debug="true"/>
<authentication mode="Forms">
<forms loginUrl="login.aspx" protection="All" path="/" />
</authentication>
<authorization>
<deny users="?" />
</authorization>
</system.web>
设置了这个以后,在visual studio中运行所有的网页都只会显示登陆页面!!!
说的是protection="All" 才导致的,现在连注册页面都无法进入来注册一个用户名,而只有登陆页面
至少要能显示这个注册页面,那么怎么解决这个问题呢?