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 ForumsAuthenticationAuthenticationActive Directory and Cookie CheckerActive Directory and Cookie Checker
Previous
 
Next
New Post
6/11/2012 1:43 PM
 

I am wondering why Active Directory provider and a Cookie cant co-exist?

I have installed your most recent provider 5.00.04, and also both of Will Strohl's widget suite (v1.04) and his stand alone module the "Cookie Checker".  In both instances of trying to use either I always get an error when I block cookies in the browser settings.  The error I get in Chrome is:

The webpage at: http://WebSiteName/DesktopModules/AuthenticationServices/ActiveDirectory/WindowsSignin.aspx  has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.

Does anyone have a workaround for this?

 
New Post
6/11/2012 3:12 PM
 
It's been years since I last looked at this but, basically, IIS needed to create a cookie or it got put into a never ending loop because it couldn't tell if the user had authenticated or not. What happens is it checks to see what authentication mode the user is in and because there's no cookie it fires the authentication procedure and redirects to WindowsSignin.aspx. On the next pass it repeats the same procedure. Etc. Etc. Etc.
 
New Post
6/11/2012 4:26 PM
 
Thanks Mike,

I guess I will have to change the code for that.
You would think it should only check once - then no log in - that's it?
Am I correct here?

Why would it keep repeating?

 
New Post
6/15/2012 12:13 AM
 
The redirect happens in the HttpModule AuthenticationModule.vb which is called as part of the or section of your web.config. I don't have all the details but, as I've observed, everything in those sections is checked multiple times every page load. I suspect that it happens for every module that's loaded but I could be wrong. Whatever the reason for the multiple hits it happens and is the reason why it keeps repeating. It's something outside of my control in the provider.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationActive Directory and Cookie CheckerActive Directory and Cookie Checker


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