Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 ASP.NET MVC 应用程序发生时,用户不时(过早地)在最近活动一分钟后意外注销,而不是 20 分钟。
可能是什么原因?
原因是 CookieAuthenticationOptions 中的 SlidingExpiration 属性设置为 false。