· 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.

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!

Share:
Back to Blog

Related Posts

View All Posts »

Shopping for a house in St. Louis

Embarking on a new house hunt in St. Louis after 2 years. Discover why we chose this vibrant suburbia over city living and the housing challenges we face.

A grateful email from Italy

Discover an unexpected note of gratitude from an Italian Perry Mason fan who admired my night photo of Denver City Hall on Flickr.