How to configure the timeout of your ASP.NET web application?
问题 My previous experience with ASP.NET web application (regarding the timeout) is that it logouts the user every 30 minutes, regardless of what module is running, Is there a way that we can increase the application timeout to an hour or two? Any help is highly appreciated, thanks in advance. 回答1: You can set the Sesion timeout in your web.config file. <sessionState timeout="60" /> The value is defined in minutes. I think you can set it programmatically as well from the HttpContext.Current