【发布时间】:2017-03-30 16:09:08
【问题描述】:
当我在我的 ASP.Net 网站上发布内容时,
如果等待 7 分 10 秒,页面上的会话将变为空。
我在 Global.asax 的 onSessionStart 方法上有这个
Session.Timeout= 60;
并且在 web.config 中有此代码,但其中任何一个都不起作用:
<system.web>
<authentication mode="None">
<forms timeout="30" slidingExpiration="true" />
</authentication>
我该如何解决这个问题?
【问题讨论】:
标签: c# asp.net session authentication timeout