Have to keep on signing in
Last Post 25 Nov 2009 08:52 AM by Mitchel Sellers. 3 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Wasim
New Member
New Member
Posts:10


--
24 Nov 2009 05:17 PM  
Hi,

I think this site is facing the same problem as mine. I have to keep on signing in even though I have checked the Remember Login checkbox. Is there a fix for this issue that I could also implement on my site. I'm using DNN version 5.1.4.

Thanks,
Wasim
Mitchel Sellers
Site Moderator
Basic Member
Basic Member
Posts:337


--
24 Nov 2009 06:40 PM  
Wasim,

We actually did not have this properly configured. This is controlled by the "PersistentCookieTimeout" setting in the web.config. Which by default is 0, which does not allow the functionality to work.

I just modified it so that this site, if the box is checked will remember your login for 7 days.
-Mitchel Sellers, Microsoft C# MVP, MCITP
CEO
IowaComputerGurus Inc!

Visit my blog for helpful technical articles

For recommended products and services view the links to the right.
Wasim
New Member
New Member
Posts:10


--
25 Nov 2009 04:46 AM  
Hello Mitchel,

Thanks for your prompt response. The value in web.config is in minutes. So in your case you have set it to 10080 for 7 days? Now if I were to make it persistent like forever, how do I go about doing that. Please advise. Is it advisable to make it persistent forever?

Thanks once again.
Mitchel Sellers
Site Moderator
Basic Member
Basic Member
Posts:337


--
25 Nov 2009 08:52 AM  
Yes, that is correct for the 7 days.

Technically a cookie is limited to two years out, you could use 525600 for 1 year.

However, there is a security concern with this setting, as allowing users to select this will allow the information to be persisted. If the user selects this on say a public computer and forgets to log off, someone else can get access to their account.
-Mitchel Sellers, Microsoft C# MVP, MCITP
CEO
IowaComputerGurus Inc!

Visit my blog for helpful technical articles

For recommended products and services view the links to the right.
You are not authorized to post a reply.

Active Forums 4.0

 

Click to verify BBB accreditation and to see a BBB report.

 

Microsoft Certified Partner