Setting up an asp.net web.config session

I am trying to increase the timeout Sessionwithout changing the code. Time sessionStatein web.configoverrides 20 minute default IIS session time?

Thank.

+3
source share
2 answers

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

Secondly, in ASP.NET/Framework 2.0 you get the ASP.NET tab in IIS, where you can control the configuration file settings. This affects ASP.NET, but not classic ASP applications.

+1
source

- Session_Start Event global.asax

0

All Articles