Search code examples
asp.nettimeoutiis-7.5

ASP .Net timeout not working / IIS


I already tried:

•Application Pool => Advanced Settings => Process Model => Idle Time-out(minutes) = 0

•Sites => ASP => Session Properties => Time-out = 720 minutes

•Sites => Configuration Editor => system.web/sessionState => timeout = 720 minutes

•Sites => Configuration Editor => system.web/roleManager => cookieTimeout = 720 minutes

In web.config:

<authentication mode="Forms">
  <forms loginUrl="~/Account/Login" timeout="720" />
</authentication>

<roleManager cookieTimeout="720" defaultProvider="DefaultRoleProvider">

<sessionState mode="InProc" customProvider="DefaultSessionProvider" timeout="720">

Also tried to put recycling (regular time) to 0.

Still, after 1 hour more ou less the session goes down.

How can I solve this problem?


Solution

  • Session or Forms auth expires? They are two different timeouts that do not behave the same. You can loos your Session when you run out of memory.

    Differences in forms auth timeout and session timeout