Idle TimeOut stuck to 20 minutes ASP CLASSIC

alexandre lecurieux lafayette 6 Reputation points
2021-08-17T14:26:27.9+00:00

Hello

I have tried to set Idle Time Out to more than 20 minutes in IIS (windows 2019), I also tried "0" which is supposed to keep the application pool run forever.
I tried the recreate the web site after setting the default application pool.
Also restarted the server, forced to recycle....

The config file looks good but nothing helps, the session dies after 20 minutes.

Help please !

Have a nice day

Thanks

Internet Information Services
0 comments No comments
{count} vote

4 answers

Sort by: Most helpful
  1. HuryShen - MSFT 321 Reputation points
    2021-08-18T01:58:25.127+00:00

    Hi @alexandre lecurieux lafayette ,

    Please have a try with also set the configuration by following steps:

    1. Choose "Session State" module

    124074-image.png

    2. Set a value more than 20 minutes.

    124096-image.png

    You can also config the session timeout in your web.config file:

       <configuration>  
         <system.web>  
        <sessionState timeout="20"></sessionState>  
         </system.web>  
       </configuration>  
    

    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. alexandre lecurieux lafayette 6 Reputation points
    2021-08-18T16:43:35.87+00:00

    Thanks a lot huryshenmsft-3800 for your answer.
    I tried this as well but no luck...
    Looks like there is no mention of 20 minutes anywhere but it carries on killing the session after 20 minutes.
    Thank you again
    Kind regards


  3. Alain Elshocht 0 Reputation points
    2023-06-08T17:26:44.7766667+00:00

    i tried the two solution plus added on the page "Session.Timeout = 360; " with no success

    0 comments No comments

  4. Alain Elshocht 0 Reputation points
    2023-06-08T17:26:57.67+00:00

    i tried the two solutions plus added on the page "Session.Timeout = 360; " with no success

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.