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 ForumsAuthenticationAuthenticationcookie timing outcookie timing out
Previous
 
Next
New Post
1/28/2008 12:09 PM
 

Hi Mike,

We've been using the AD authentication provider that came with DNN 4.6.2 for a while now for our intranet. Once in a while (probably for users who haven't closed their browser window for some time) they do not seem to be authenticated anymore. They can only view pages that all users are allowed to view. The only way dnn re-recognizes them is if I delete all cookies from their machine. Are their authentication cookies expiring? What needs to be done so that , that does not happen?

Any information would be great.

Thanks

kd

 

 
New Post
1/28/2008 12:40 PM
 

Is there a chance that they're logging out of the site? If the cookie has expired then a re-authentication should take place.

 
New Post
1/29/2008 12:58 PM
 

Hi Mike,

 

They cannot explicitly log out of the site. All they can do is close the browser window. Any idea why deleting the cookies allows them to get reauthenticated?

 

Thanks

kd

 
New Post
1/29/2008 4:02 PM
 

I haven't run across what you're seeing before so I'm not sure why they're getting logged out. However I can explain why they get re-authenticated when they delete their cookie. Simply put, when therei's no cookie and the AD code section is called and checks the authentication type an Undefined is returned. This fires the process of logging the Windows user into the website. If they click logout and the cookie hasn't expired then it returns a type of WinLogon and the code is bypassed. Now that said, you'd think that I could change the code so that if WinLogon is returned it also goes through the login process but unfortunately I can't (puts the code in an endless loop). I haven't quite figured out what the intentions were of the original creator of the code but I think the idea was that if the cookie was still there and still valid then the user must be logged in so don't go through the login process. The only other thing I can think of that you might be able to use to test further is to shorten the expiry date of the cookie in your web.config and see what happens when users hit the site with an expired cookie.

 
New Post
2/29/2008 6:05 AM
 
I am having the same issue with DNN 4.7. I increased the timeout of the authentication form to 1 day (1440 minutes) using the following web.config modification. I also configured the application pool to recycle every day at 23:59. But I am afraid the problem is still there. Is there anybody who knows what causes this problem and how to solve it? Best regards, Evert Dieperink
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationcookie timing outcookie timing out


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