Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

$4.95 Windows Hosting at Webhost4life.com
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Authentication ...  Autologin success on 01.00.03
Previous Previous
 
Next Next
New Post 7/2/2008 2:22 AM
Informative
User is offline jacob_miw
18 posts
10th Ranked


Autologin success on 01.00.03 

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 8:38 AM
User is offline Mike Horton
3080 posts
dnn.gmss.org
4th Ranked






Re: Autologin success on 01.00.03 

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 9:25 AM
User is offline jacob_miw
18 posts
10th Ranked


Re: Autologin success on 01.00.03 

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 10:46 AM
User is offline Mike Horton
3080 posts
dnn.gmss.org
4th Ranked






Re: Autologin success on 01.00.03 

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 6:21 AM
User is offline jacob_miw
18 posts
10th Ranked


Re: Autologin success on 01.00.03 

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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Authentication ...  Autologin success on 01.00.03
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Mad Development: dotnetnuke design and development
We are an expert Dotnetnuke shop specializing in developing solutions that merge the requirements of design and branding, content management, ecommerce, search engine optimization and business logic.
www.MadDevelopment.com
telerik
telerik r.a.d.controls suite is the most innovative and comprehensive toolset for ASP.NET development, tailored for seamless integration with the DotNetNuke project. This integrated collection of controls allows professionals to build web-solutions with the UI richness and responsiveness of desktop applications.
dnn.telerik.com
CrystalTech
CrystalTech Web Hosting™ provides first-class service and support. Our value-packed ASP.NET plans offer DNN installation, SQL 2005 and up to 100 domain names starting at only $16.95 per month!
CrystalTech.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP