是分钟吗? 它在“2880”中,但是这个超时时间太短了。好像不是分分钟...
<authentication mode="Forms">
<forms loginUrl="~/Account/Login" timeout="2880" />
</authentication>
最佳答案
<forms loginUrl="~/Account/Login" timeout="2880" />
FormAuthentication 超时以分钟为单位。 2880 表示 48 小时。
如果您没有明确设置,则默认为 30 分钟。
关于c# - Asp.net 中表单例份验证超时的单位是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40921276/