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.

Jamie
  • 1,579
  • 8
  • 34
  • 74
Nil Pun
  • 17,035
  • 39
  • 172
  • 294

2 Answers2

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.

Off The Gold
  • 1,228
  • 15
  • 28
Muhammad Akhtar
  • 51,913
  • 37
  • 138
  • 191
0

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

parmarupendra
  • 85
  • 2
  • 4
  • 10