我的MVC 5网站有这样的web.config:
<authentication mode="Forms"> <forms name=".ADAuthCookie" loginUrl="~/Account/Login" timeout="2880" slidingExpiration="true" protection="All" /> </authentication>
但超时不起作用.在这里给我什么价值无关紧要,它总是在20-30分钟后到期.如何维护用户登录时间较长或直到退出?
有什么办法可以使用“In-Proc”来实现这一点吗?还是我在这里遗漏的东西?
解决方法
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。