Back to Top

Get In Touch

Our offices are located just south of downtown Champaign in Research Park (at the University of Illinois). We are in The Atkins Building just west of the iHotel, in the same building as Motorola, P&G, FASS, EarthSense, Abbvie, and others.

1800 S Oak St., Suite 100A
Champaign, IL 61820

Directions

Phone: (217) 531-2966Fax: (866) 298-5499 General Inquiry: [email protected] Support request: [email protected]

More info »

DNN Details 001: Remember Me and Staying Logged in Longer

Stay Logged in for Days or Weeks on Your .NET Website

Friday, December 7, 2018

Author: Jeremy Farrance

Note: this is meant for technically savvy users and has not been re-written for new users - 20181207 JRF

Edit web.config and update the following nodes to whatever value you require (the appropriate fields are identified in bold below - all values are in minutes i.e. 60 minutes*24 hours*14 days=20160).

The following sets a 2 hour session expiration and allows for Remember Me of 2 weeks via your cookie (unless you click logout).

Under <system.web>, then in <authentication … />

<forms name=".DOTNETNUKE" protection="All" timeout="120" cookieless="UseCookies" />

In <appSettings>

<add key="PersistentCookieTimeout" value="20160" />   [ 14 days ]

or

	<add key="PersistentCookieTimeout" value="720" />   [ 12 hours ]

 

In English, stay logged in to the site:

  • with Remember Me un-checked = 2 hours
  • with Remember Me checked = 14 days

 

Posted In: Technical  |  Comments (0)

Wanna hear more?

Find out more about our services, or get started on your next project.

Let's go!

quick links