none
Is SessionState.Timeout affected by timers? RRS feed

  • Question

  • If I update my Web.config with the following line:

    <sessionState timeout="5"/>

    am I instructing my web application to time out after 5 minutes of inactivity?

    If so, then if the active page in the web application has a System.Web.UI.Timer that fires every 1 minute, will this timer prevent the 5 minute timeout?

    Thursday, March 21, 2019 6:36 PM

All replies

  • https://weblogs.asp.net/stevewellens/ah-ah-ah-ah-staying-alive-staying-alive

    http://www.primaryobjects.com/2008/01/29/preventing-session-timeouts-in-c-asp-net-web-applications/

    ASP.NET issues can be discussed at the ASP.NET forums.

    https://forums.asp.net/

    Thursday, March 21, 2019 8:47 PM