You are here:   Home > Asp.net
Register   |  Login

DotNetNuke

Minimize

DotNetNuke is a content management system (CMS) for websites, easy to use and highly extensible, with lots of add on modules.

One of my customers made me use Joomla. After suffering with that for three years, I was not motivated to look into another CMS, especially since I had written my own Asp.net framework, which of course I loved (and want to port to DotNetNuke).

After peering at DotNetNuke for a year, I finally gave it a try and immediately saw how powerful and easy to use it was. Have been moving my customers' and my websites to it since.

DotNetNuke Articles

Minimize
17

The default DotNetNuke login logout timeout is 60 minutes. That may work for some, but if you are like me and want to update your website every time you have an idea, you will find it a pain to constantly login. I prefer to be automatically logged onto my websites so I can immediately get to work. For your visitors, this is also a major convenience.

DotNetNuke use the Asp.net membership provider. The timeout period is controlled by a couple of settings in the Asp.net web.config file. Here is what you can change to lengthen your timeout period.

Look for the section <authentication mode="forms">. On the forms name tag, change the timeout to say 600000 and add the slidingExpiration attribute set to true. The whole thing looks like this.

Be aware that this changes the timeout for all the portals under this installation of DotNetNuke, since their is only one web.config per installation.

<authentication mode="Forms">

<!-- *** Original way
<forms name=".DOTNETNUKE" protection="All" timeout="60" cookieless="UseCookies" />
-->

<forms name=".DOTNETNUKE" protection="All" timeout="600000" cookieless="UseCookies" slidingExpiration="true" />

</authentication>

By Andrew Weitzen, Bronze Inc. (c) 2010

Bronze is the publisher of several online Internet journals including: InternetHandholding.com, DomainNames.gs, DotNetNuke.bz, Programmer.bz, Software.vg, WebHosting.vg

Posted in: Asp.net

Post Rating

Comments

Chad
# Chad
Saturday, April 07, 2012 11:47 PM
You should probably note that the website will need to be restarted in IIS after this procedure as the config file is only read upon initial load.

Post Comment

Name (required)

Email (required)

Website

Enter the code shown above in the box below

Internet Handholding Newsletter

Minimize

DotNetNuke

Minimize



Recommend DotNetNuke.bz

Minimize

Share/Bookmark Bookmark and Share