Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Login DoesnLogin Doesn't Remember Password
Previous
 
Next
New Post
1/23/2007 1:30 PM
 

ASP.Net forms authentication does not work that way. Once you login an encrypted auth cookie is placed on your machine. 
It will not expire until the end of the Timeout as mentioned earlier or if you logout.  So next time you return, you will not have to enter any credentials, they will be passed automatically from the encrypted cookie.

The DNN code for logging in is in <root>/admin/secuitry/signin.ascx.vb, and the user control is <root>/admin/secuitry/signin.ascx

 

 


DotNetNuke Modules from Snapsis.com
 
New Post
1/23/2007 1:36 PM
 

Ok, thanks for the explanation John and for pointing out the path to the signin pages. I appreciate it.

I will probably try to mimick the aforementioned behavior via an additional cookie. I will return and post my method upon completion in case anyone may find it useful.

 
New Post
1/31/2007 7:33 AM
 
It is also possible to set a custom expiration on the cookie in another place in the web.config - look for:

<add key="PersistentCookieTimeout" value="0"/>
<!--use as persistent cookie expiration. Value is in minutes, and only active if a non-zero figure-->

This value is looked at by the login code when setting the Auth cookie.  If the value is greater than zero it will use this value.  If not, it will use the default value you set in the forms tag.
 
New Post
1/31/2007 10:17 AM
 

Thanks for the input Shawn. I did as you suggested and set <add key="PersistentCookieTimeout" value="5"/> just for testing.

I don't see any difference. If I check the 'Remember Login' checkbox while logging in, then logout and immediately log back in, my password is not remembered.

What I find perplexing is, if this feature doen't work, why include the 'Remember Login' checkbox ? Or am I missing the purpose of this feature?

 
New Post
1/31/2007 1:17 PM
 
Hi Tigris:

I think what your are experiencing is a browser issue. What browser are you using?

When I use Firefox to revisit a site and click on the "User Name" field, the User Name is shown and if I click on it the password is automatically filled in. When I use IE7 the User Name is shown but the password is not; these are functions of the browsers. These are the settings (Options/Security - Passwords - Remember passwords for sites) in Firefox; I haven't found the settings for IE7. Hope this helps.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Login DoesnLogin Doesn't Remember Password


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out