Session timeout in ASP.NET

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

    Use the following code block in your web.config file. Here default session time out is 80 mins.

    
     
    
    

    Use the following link for Session Timeout with popup alert message.

    Session Timeout Example

    FYI:The above examples is done with devexpress popup control so you need to customize/replace devexpress popup control with normal popup control. If your using devexpress no need to customize

提交回复
热议问题