Session timeout in ASP.NET

后端 未结 15 2162
忘了有多久
忘了有多久 2020-11-22 09:14

I am running an ASP.NET 2.0 application in IIS 6.0. I want session timeout to be 60 minutes rather than the default 20 minutes. I have done the following

  1. Set <
15条回答
  •  囚心锁ツ
    2020-11-22 09:56

    The Timeout property specifies the time-out period assigned to the Session object for the application, in minutes. If the user does not refresh or request a page within the time-out period, the session ends.

    IIS 6.0: The minimum allowed value is 1 minute and the maximum is 1440 minutes.

    Session.Timeout = 600;
    

提交回复
热议问题