configuring asp.net web.config session
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
精彩评论