Last post Mar 15, 2017 01:50 AM by Eric Du
Mar 09, 2017 06:28 PM|micah2012|LINK
Mar 09, 2017 07:29 PM|HostingASPNet|LINK
You could increase the session (http://www.howtoasp.net/asp-net-tutorials/how-to-configure-timeout-for-session-state-in-asp-net/) and application
Mar 10, 2017 01:54 AM|micah2012|LINK
Mar 10, 2017 02:29 AM|KathyW|LINK
What you seem to really want to know is how to have logins never time out. You didn't mention what type of project this is or what login system you were using, but you need to modify it to use a persistent cookie.
Mar 10, 2017 03:13 AM|Eric Du|LINK
According to your description, as far as I know, you could try add this line code inside head tag.
<meta http-equiv="refresh" content="30">
This will refresh page before session timeout.
Here is a tutorial about how to set it, please check:
Preventing Session Timeouts in C# ASP .NET Web Applications:
Mar 10, 2017 06:06 AM|micah2012|LINK
Mar 10, 2017 06:08 AM|micah2012|LINK
Mar 10, 2017 03:56 PM|KathyW|LINK
What login system are you using? Is this a webforms project or an MVC project?
Mar 10, 2017 04:47 PM|micah2012|LINK
Mar 15, 2017 01:50 AM|Eric Du|LINK
If you are using session, please refer to the following code to change the session
The Timeout property cannot be set to a value greater than 525,600 minutes (1 year). The default value is 20 minutes.
More details, see:
If you are using cookie, please refer to this link to set the timeout property: