3

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.

2 Answers 2

1

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.

Sign up to request clarification or add additional context in comments.

Comments

0

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.