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 ForumsAuthenticationAuthenticationTime out issue with AD authentication on Intranet -- autologin on DNNTime out issue with AD authentication on Intranet -- autologin on DNN
Previous
 
Next
New Post
10/31/2011 4:20 PM
 
<p>We are using DNN 5.06.02 version in our company, I set up Active Directory auto login authentication. When I set this up I encountered a problem that auto login worked fine with the users, but once they logout of the website and close the browser and again run the website, they dont get automatically logged0in.  But if clear the cookies (temporary files) and then re run the site, it automatically logs me in. <br /> I posted a thread then and the replies i got from Mike Horton were</p> <p><b>“</b><b>If you wait between a 1/2 hour to an hour and try again you'll get logged in. This is a by-product of IIS creating it's own cookie that expires at a random time of between the times mentioned before and prevents the redirect to WindowsSignin.aspx.”</b></p> <p><b></b></p> <p><b>“The only way to do it is to modify the code so that it resets immediately if a person logs out BUT if that was done then you'd never be able to log out and login as a different user (e.g the DNN host or admin user). And then I'd have the forum filled with posts from people complaining that they're not able to logout.”</b></p> <p><b></b></p> <p> </p> <p>So I haven’t made any changes then, but since the last few months, users have been complaining that they are being automatically logged out and are not being auto-logged in again for sometime. Sometimes they are logged in immediately though, but sometimes they are not. Firstly I am finding hard as to why they are automatically being logged out, I guess that if the users leave the intranet open for sometime without working on it they are being logged out, is there a way to prevent it.</p> <p>Currently I have the  timeout code uncommented, so should it not log out the user at any time, do you think I should uncomment this line out and if so what should I set the value of timeout to be for users to be never logged out.</p> <p>              <!-- Forms or Windows authentication --></p> <p>              <!--<authentication mode="Forms"></p> <p>      </p> <p>    </authentication>--></p> <p>              <!--<identity impersonate="true" userName="sc_net\me" password="mypasword" />--></p> <p>              <identity impersonate="true"/></p> <p>   <!--</p> <p><identity impersonate="true"/></p> <p><authentication mode="Windows"></p> <p></authentication></p> <p>--></p> <p><b></b></p> <p><b>I am not sure about what the line below is doing </b></p> <p> </p> <p><anonymousIdentification enabled="true" cookieName=".ASPXANONYMOUS" cookieTimeout="100000" cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true" cookieProtection="None" domain=""/></p> <p> </p> <p>I also tried using the Remember me option for one user and set out its value to 2 weeks.</p> <p> </p> <p>       <add key="PersistentCookieTimeout" value="20160"/> </p> <p> </p> <p>Can you please suggest me as to what I can do?</p>
 
New Post
11/1/2011 8:41 AM
 
My first message wasn't properly formatted, so I am reposting my question

We are using DNN 5.06.02 version in our company, I set up Active Directory auto login authentication. When I set this up I encountered a problem that auto login worked fine with the users, but once they logout of the website and close the browser and again run the website, they dont get automatically logged0in. But if clear the cookies (temporary files) and then re run the site, it automatically logs me in.
I posted a thread then and the replies i got from Mike Horton were

If you wait between a 1/2 hour to an hour and try again you'll get logged in. This is a by-product of IIS creating it's own cookie that expires at a random time of between the times mentioned before and prevents the redirect to WindowsSignin.aspx
The only way to do it is to modify the code so that it resets immediately if a person logs out BUT if that was done then you'd never be able to log out and login as a different user (e.g the DNN host or admin user). And then I'd have the forum filled with posts from people complaining that they're not able to logout


So I haven’t made any changes then, but since the last few months, users have been complaining that they are being automatically logged out and are not being auto-logged in again for sometime. Sometimes they are logged in immediately though, but sometimes they are not. Firstly I am finding hard as to why they are automatically being logged out, I guess that if the users leave the intranet open for sometime without working on it they are being logged out, is there a way to prevent it

Currently I have the timeout code uncommented, so should it not log out the user at any time, do you think I should uncomment this line out and if so what should I set the value of timeout to be for users to be never logged out




I am not sure about what the line below is doing



I also tried using the Remember me option for one user and set out its value to 2 weeks.



Can you please suggest me as to what I can do?
 
New Post
11/1/2011 11:22 AM
 






I have commented out both authentication mode=windows and authentication mode =forms ..is it right?
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationTime out issue with AD authentication on Intranet -- autologin on DNNTime out issue with AD authentication on Intranet -- autologin on DNN


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