Blue Ink
Blue InkHomeBlue Ink SolutionsArticlesBlue Ink Net CommunityBlue Ink Demo ApplicationAbout Automated Architecture
My Profile

Disabling timeout

View General Forum | Post Response | New Topic

Author Message
Jun 12 2006
3:52 PM
My .net application times out in ~15-20 minutes. How can I prevent this from happening? I want to either completely disable session timeouts or set it to ~8 hours in my application. I tried setting the timeout value in webconfig file as well as in global.asax file. But it keeps timing out in a short amount of time.
Lee Richardson

Jun 13 2006
4:38 AM

It's hard to know without seeing the code your are using. Generally this should look like either:

<sessionState mode="InProc" ... timeout="20" />

Or in the web.config:

protected void Session_Start(Object sender, EventArgs e) {
Session.Timeout = 20;

If you've tried those there may be something such as a virus scanner causing the application to restart. See the following Microsoft Knowledge Base article for details:;en-us;324772.

View General Forum | Post Response | New Topic


What is Rapid Application Development?


Call us toll free:
(877) 756-3595

Or Visit Forums


Copyright © 2021 Automated Architecture, Inc. All rights reserved.