Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 308
  • Last Modified:

Session Timout Ignored?

We have a web application (intranet) which we desire to keep the session open for as long as we can.  In the web.config, I have the following line: <sessionState mode="InProc" timeout="480"></sessionState> but my session definately times out prior to 8 hours.  Furthermore, on a Windows 2003 Standard 64 bit installation, the timeout seems to be about 5 minutes or so.  On our development server, the timeout is greater than 5 minutes, but it is not the 8 hours I have it set to.  We tried using sessionState mode=SQLServer and had issues with that, and I don't want to go that length just to get a property to behave as advertised.
0
Curto123
Asked:
Curto123
1 Solution
 
Ted BouskillSenior Software DeveloperCommented:
Are you using a web garden?  How long before your Application Pool timeout occurs?

Also, are you changing any files in the bin directory?  That resets all sessions.
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now