开发者

configuring asp.net web.config session

开发者 https://www.devze.com 2023-03-10 03:24 出处:网络
I\'m trying to increase the Session timeout without modifying code. Does sessionState time in web.config override the default 20 minute IIS session time?开发者_运维知识库

I'm trying to increase the Session timeout without modifying code. Does sessionState time in web.config override the default 20 minute IIS session time?开发者_运维知识库

Thank you.


The IIS session timeout value is for classic .asp pages only. For ASP.NET applications, only the web.config specified timeout value applies. That means the Web.Config session settings will override over IIS settings for .aspx pages.

Secondly in the ASP.NET/Framework 2.0 you get an ASP.NET tab on IIS where you can manage the config file settings. Those do have an affect on ASP.NET but not on classic ASP Applications.


you can write session timeout in Session_Start Event in global.asax file

0

精彩评论

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