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 ForumsAuthenticationAuthenticationUsers getting logged out - AD providerUsers getting logged out - AD provider
Previous
 
Next
New Post
9/24/2009 6:01 AM
 

Hi All,

We have developed our intranet website using DotNetNuke Ver.04.09.00 and Dot Net framework ver2.0.50727.832. We are using the Active Directory authentication provider to log in people directly using their AD credentials. We have also set it up to log in people automatically. The automatic logins are working fine, but the only issue we are facing is that the users are logged out every 60 minutes (one hour). They are automatically logged out and logged in as a result of which they lose out on the data they were updating and this behavior seems odd to the end user.

As we are working on the intranet, we do not want people to log out after only an hour, one day (24 hours) would be an appropriate time.

We did much research on this and tried many things to fix this.

We have tried out the following things:

1.  we have put in a very large timeout number under the forms authentication in web .config

<authentication mode="forms">
      <forms name=".DOTNETNUKE" timeout="10000" slidingExpiration="true" cookieless="UseCookies" />
    </authentication>

2. we have added a large value under memebership for the userIsOnlineTimeWindow attribute in web.config

<membership defaultProvider="AspNetSqlMembershipProvider" userIsOnlineTimeWindow="20160">

3.  We have also enabled the persistent cookie timeout featureby adding in a large value

<add key="PersistentCookieTimeout" value="20160" />

4. A large value has also been added for Session timeout

    <sessionState timeout="1440" />

We really need to fix this Asap. Any kind of help would be greatly appreciated.

Thanks.

 

 

 

 
New Post
9/26/2009 12:48 PM
 

Unfortunately the re-authentication is a function of IIS and as far as I know this is out of our control (at least I've never found any information to the contrary). What version of the AD provider are you using?

 
New Post
10/8/2009 3:12 PM
 

One thing to check is to make sure your web.config file  is not being overwritten, that would restart the application.

I'm not sure if DNN overrides any of those parameters in code, you may want to search the sourcecode for Session.Timeout

 

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationUsers getting logged out - AD providerUsers getting logged out - AD provider


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