开发者

How to determine Asp.Net Session Length

The SessionState time out value can be configured via the web.config

<sessionstate 
      timeout="x"/>

My ques开发者_运维知识库tion is: how can I determine through code, what the SessionState timeout length is?


You should be able to get or set that value using HttpSessionState.Timeout

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜