SwissChecklist

Checklist: DotNetNuke - Activate Remember Me

The Checkbox "Remeber Me" or "Remember Login" doesn't seem to work by default. Here's how to activate it.
  • Activating it with DNN 4.8.1 and higher

    Show Details Show Substeps Show Substeps Show Substeps
    Starting with DNN 4.8.1 and higher, you can use two different timeouts - a standard timeout, and a longer "Remember Me" timeout. Found this here
  • Setup your forms tag so "normal" logins are 2 hours

    Show Details Show Substeps Show Substeps Show Substeps
    <forms name=".DOTNETNUKE" protection="All timeout="120" cookieless="UseCookies" />
  • Add the key to enable permanent login to 2 weeks

    Show Details Show Substeps Show Substeps Show Substeps
    <add key="PersistentCookieTimeout" value="20160" />
  • Option: Add sliding expiration - slidingExpiration="true"

    Show Details Show Substeps Show Substeps Show Substeps
    This causes the expiration to be extended whenever the user comes back.

    <forms name=".DOTNETNUKE" protection="All" timeout="120" slidingExpiration="true"
    cookieless="UseCookies" />
  • Older versions

    Show Details Show Substeps Show Substeps Show Substeps
    Older versions of DNN only allow a single timeout value, so the cookie stays longer in all versions of the Remember Login
  • Set the forms tag to automatically extend ALL login cookies

    Show Details Show Substeps Show Substeps Show Substeps
    <forms name=".DOTNETNUKE" protection="All" timeout="20160" cookieless="UseCookies" />

    This example extends it to two weeks
  • Option: sliding expiration - slidingExpiration="true"

    Show Details Show Substeps Show Substeps Show Substeps
    This causes the expiration to be extended whenever the user comes back.

    <forms name=".DOTNETNUKE" protection="All" timeout="20160" slidingExpiration="true" cookieless="UseCookies" />
  • New Step

    Show Details Show Substeps Show Substeps Show Substeps
Use this Checklist

Preview/Print

Use

Change

Sort