Telephone: (480) 722-1227 Toll Free: (888) 722-1227
  Email - Contact
  Register Login   |   Knowledge Base  >  Knowledge Base Dotnetnuke Module Fixes & How To's  >  IMPORTANT INFO  >  DNN Remember Login FIX   |   Saturday, July 31, 2010 search:    
DNN Remember Login FIX
Last Post 21 Dec 2007 10:26 AM by Joseph Quintero. 0 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Joseph QuinteroUser is Offline
New Member
New Member
Posts:19

--
21 Dec 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 their time will be reset to the value in the timeout.  That way you can keep the timeout shorter, but still convenient 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.

Active Forums 4.2
Copyright 2006 - 2010 Vigilant Support   |  Privacy Statement  |  Terms Of Use