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?