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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationAutologin success on 01.00.03Autologin success on 01.00.03
Previous
 
Next
New Post
7/2/2008 5:22 AM
 

Hello, I have had a lot of problems with getting the autologin to work, as you can see if you have followed this thread:

 www.dotnetnuke.com/Community/Forums/tabid/795/forumid/89/threadid/232127/scope/posts/Default.aspx

But - now it seems to work. The fix was: Do NOT hide Login Controls. This seems really odd to me, why hiding controls should have any effect, but I can reproduce the problem when I check the Hide login controls-checkbox under Admin > Authentication. My settings are:

- No impersonation in web.config.
- Standard DotNetNuke Authentication enabled
- Hide login controls: NOT CHECKED
- Not synchonizing roles (as we have no use for this - haven't tested whether it causes problems)
- Root domain in f0rmat: dc=domain, dc=com
-
Email Domain: Blank
-
Auto login IP Address: Blank

I hope this weird fix can help someone else - maybe Mike can shed som light on, why this even can be a fix?

 
New Post
7/2/2008 11:38 AM
 

If it seems odd to you then it's doubly so for me.

Quick history on "Hide Login Controls". An enhancement request was made that the controls could be hidden because users were getting confused between the login options on the page. The requester wanted to be able to hide the Windows Login and then provide a link to WindowsSignin.aspx from another module (I'm guessing Text/HTML). To prevent the login controls from showing up when manually logging in I had to fake out the DNN login wrapper by making it think it the provider wasn't enabled when it really was.

And this is where it gets doubly odd for me as the only thing I've done is added a boolean setting to the ModuleSettings table that checks if the Hide Login Controls was checked or not and this is only validated when a user manually clicks the Login skin object and the DNN Login wrapper loads the controls. Otherwise it's never checked and plays no part in how the provider works.

 
New Post
7/2/2008 12:25 PM
 

I figured you wouldn't say: Of course - that's suppose to happen :-)

At first I tried disabling one thing at a time, sync roles, autologin IPs, hide login controls, default email and such. When I realized it suddenly worked, I tried enabling one thing at a time to see, what made the difference. I experienced it was the Hide login controls. My "test-procedure" is as follows:

1) Login as host
2) Hide or show login controls, and Update Settings
3) Logout
4) Clear all temp. files, cookies and such (Delete browser history in IE7)
5) Close Internet Explorer
6) Open Internet Explorer
7) Navigate to site
8) If no autologin: Repeat step 1-7.

By doing this I can verify that it is only with the login controls visible the autologin works as expected. Weird, huh?

 
New Post
7/2/2008 1:46 PM
 

I'll go back through the code just to make sure I didn't accidently introduce a bug somewhere that wasn't caught in testing.

 
New Post
7/20/2008 9:21 AM
 

Hi Mike,

I was wondering, whether you ever got about to looking through the code..?

Not that I need anything fixed, as we can live with showing the login controls, but just out of curiosity, as this is a weird reproduceable issue..

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationAutologin success on 01.00.03Autologin success on 01.00.03


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