在ASP.NET MVC5 中使用 FormsAuthenticationTicket 的注意事项
时间:2014-06-30 11:52:45
收藏:0
阅读:325
在根目录 web.confgi文件中添加如下配置信息。
<configuration>
<system.web>
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="2880" />
</authentication>
</system.web>
</configuration>
在ASP.NET MVC5 中使用 FormsAuthenticationTicket 的注意事项,布布扣,bubuko.com
评论(0)