系统新建的web.config文件中Authentication的默认值一般是 mode="windows", .NET登录控件使用一般要改变他的设置,一般如下格式:
<authentication mode="Forms"> <forms name="TestLogin" loginUrl="Login.aspx" protection="None" timeout="60"></forms> </authentication>
博客园 © 2004-2026 浙公网安备 33010602011771号 浙ICP备2021040463号-3