· Chris Hammond
Last Updated
DotNetNuke Daily Tip #12 7/26/06 Staying Logged In
Learn how to fix login issues on your DNN website running on .NET 2.0 framework. Adjust the timeout setting in Web.config for longer login sessions.

Tips were slim last week as I was off in Denver for a few days.
Have you noticed that since running your DNN website on the .NET 2.0 framework, you can’t stay logged in for more than an hour? Even if you have the “Remember Me” option checked?
Well, here’s your fix!
Modify the Web.config Timeout Value
In the Web.config
of your DNN instance, find the TIMEOUT section:
<forms name=".DOTNETNUKE" protection="All" timeout="60" />
Change the timeout value from 60 to something larger:
<forms name=".DOTNETNUKE" protection="All" timeout="600000" />
This should help you stay logged in!
A very annoying feature of .NET 2.0 is that it actually follows this timeout—how dare they! 😉
Stay tuned for another DotNetNuke Daily Tip coming tomorrow!