I have an asp.net application in IIS 5.0(windows 2000 server), my application is working with windows authentication and I have set the timeout as 120 min. Say the user starts working from 11:00 and the user is working on the application but after about 2 hrs i.e. about 13:00 the session timeout unexpectedly even though user is working on it. I modified the timeout to 300 min now the session stays active for about 5hrs and disconnects unexpectdly even thow user is still working.
I have the web.config file as below.
<authentication mode="Windows"/>
<sessionState timeout="120">
also checked the asp.net session timeout in the virtual directory properties which is the same 120 min.
Any taught or solution will be very helpful.
Timeout in my case was because the session was not ended properly when the user disconnects unexpectedly. When the user connects the next time this was causing some timeout problem. After closing the sessions properly it works fine