Wasim
 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 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 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 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. |
|
|