Welcome
Login  |  Register
Wednesday, October 08, 2008
  Search
You are here:Knowledge Base
 
 
 

 Please Register or login to view our private forums, it is free!!

Subject: DNN Remember Login FIX
Prev Next
You are not authorized to post a reply.

Author Messages
sequii2006User is Offline
Posts:25


12/21/2007 10:26 AM  

The "Remember Me" feature of the DotNetNuke Login is implemented by placing an encrypted authentication cookie on the user's machine.

The expiration of this cookie is controlled through the timeout value in the Forms Autentication node  the web.config.

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

The default setting is 60 minutes, so it can't remember anyone for very long (I call it goldfish mode).

To extend the time your users are remembered make the timeout value larger.


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

You can also make it a sliding expiration which means that every time someone visits with an auth cookie thier time will be reset to the value in the timeout.  That way you can keep the timeout shorter, but still convienient for your visitors that make it back to your site before it expires.


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

Now as long as your visitors make it back before the timeout your DotNetNuke memory for who they are will be in Elephant mode.

You are not authorized to post a reply.



ActiveForums 3.7
 
Copyright 2006-7 Vigilant Support