asp.netdotnetnukeremember-medotnetnuke-7

How to make my website remember user/password logins


I'm running my website under DotNetNuke version 07.00.02 and it does not remember user/password on client's logins.
Can someone please give me a hint?


Solution

  • You need to set PersistentCookieTimeout in web.config to some value which is greater than 0, e.g.:

    <configuration>
      <appSettings>
        <add key="PersistentCookieTimeout" value="2016000" />
      </appSettings>
    </configuration>
    

    Also make sure that cookies are enabled and users do not use the incognito mode.

    Related: PersistentCookieTimeout and Why doesn't "Remember me" work like I expect?