How do I increase the session timeout for my C# ASP.NET application?
2 Answers
This is normally done in the <sessionState> element of your Web.config file. Check MSDN here:
http://msdn.microsoft.com/en-us/library/h6bb9cz9%28vs.80%29.aspx
Comments
You can use following code:
Session.Timeout = 4000;
It sets timeout in minutes.
or in web.config for all users as suggested by David M