Session timeout in ASP.NET

后端 未结 15 2378
忘了有多久
忘了有多久 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:41

    The default session timeout is defined into IIS to 20 minutes

    Follow the procedures below for each site hosted on the IIS 8.5 web

    Open the IIS 8.5 Manager.

    Click the site name.

    Select "Configuration Editor" under the "Management" section.

    From the "Section:" drop-down list at the top of the configuration editor, locate "system.web/sessionState".

    Set the "timeout" to "00:20:00 or less”, using the lowest value possible depending upon the application. Acceptable values are 5 minutes for high-value applications, 10 minutes for medium-value applications, and 20 minutes for low-value applications.

    In the "Actions" pane, click "Apply".

提交回复
热议问题