我以为要等好几年,没想到一小时内就通关了。
最佳答案
根据Explained: Forms Authentication in ASP.NET 2.0 , "默认值为 30 分钟":
<system.web>
<authentication mode="Forms">
<forms loginUrl="Login.aspx"
protection="All"
timeout="30"
...
关于asp.net - formsauthentication.setauthcookie默认过期时间?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1447092/