日期:2014-05-18  浏览次数:20568 次

web.config中匿名用户登录的问题
在系统中的web.config中配置了如下节点:
<authentication mode="Forms">  
<forms name=".ASPXUSERDEMO" loginUrl="Login.aspx" protection="All" timeout="30"/>  
</authentication>  
<authorization>  
<deny users="?"/>  
</authorization> 
请问当一个用户没有登录而访问系统的页面时,系统是如何判断该用户是匿名用户的,是不是只要加了上面的节点不做其它任何代码操作就能实现该功能

------解决方案--------------------
请搜索一下Form验证~