Avatar of stuyguy
stuyguy

asked on 

Session Timeout Problem After Migrating to .net 3.5

We have migrated a .Net 1.1 applicatoin to .Net 3.5 and are getting very short session timeouts (10 to 20 minutes) even though we have timeout=1000 in the web.config.  Any ideas?
ASP.NETVisual Basic.NETWeb Applications

Avatar of undefined
Last Comment
stuyguy
Avatar of lambdabunker
lambdabunker
Flag of Australia image

can you post the code where you are setting timeout, can you also post the error/message you get once timeout expires?
Avatar of stuyguy
stuyguy

ASKER

Here is the line from the web.config:



There is no error message because each page in the application detects if there are certain session variables present. If the session variables are not present the application redirects to the login page.  The application is redirecting to the login page after 10 minutes of non-use.
ASKER CERTIFIED SOLUTION
Avatar of lambdabunker
lambdabunker
Flag of Australia image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of stuyguy
stuyguy

ASKER

Thanks.
Avatar of stuyguy
stuyguy

ASKER

That appears to have resolved the problem.  Thank you.
Avatar of stuyguy
stuyguy

ASKER

BTW, Any reason not to set the worker process timeout to a very high value.  We have a web application with about 30 users a day per web server.  We need to keep the session alive for as long as possible.
ASP.NET
ASP.NET

The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications

128K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo