gpt4 book ai didi

.net - sessionState 超时不工作

转载 作者:行者123 更新时间:2023-12-04 03:11:46 24 4
gpt4 key购买 nike

我已将 session 状态超时设置为 60,即 1 小时。但是,用户在 20 分钟后仍然收到 session 过期消息。

我们使用 Windows Server 2008 来托管 asp.net 应用程序。谁能告诉我为什么 session 会在 20 分钟后过期?

我正在使用 Windows 身份验证。下面是我的网络配置:

<sessionState  timeout="60" />

最佳答案

检查 IIS session 量。它可能与 .NET session 量不同。

Configure Session Time-out (IIS 7)
另见 this question

By default, the session expires when the user has not requested or refreshed a page in the ASP application for 20 minutes

关于.net - sessionState 超时不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6249314/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com