Click here to Skip to main content
13,199,026 members (44,095 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Session Variables losing their values for all user
before timeout limit

Please Help me.
thanks in advance
Posted 10-Dec-12 23:40pm
Updated 10-Dec-12 23:51pm
choudhary.sumit 11-Dec-12 5:46am
how are defining your timeout limit?
subhusingh 11-Dec-12 5:59am
In Web Config........
OriginalGriff 11-Dec-12 5:49am
I just checked, and it isn't very urgent and important at all. In fact, it doesn't even appear on my to-do list.
It may be urgent to you, but it isn't to us. All that your stressing the urgency does is to make us think you have left it too late, and want us to do it for you. This annoys some people, and can slow a response.
choudhary.sumit 11-Dec-12 5:53am
don't be angry paul! help him.
subhusingh 11-Dec-12 5:59am
Sorry Dude........... Please Help If u can....
Prasad_Kulkarni 11-Dec-12 7:16am
can you post code in web.config where you have set session time out..

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Go to the App Pool for the site, to the Performance Tab.

Either uncheck the box for:
Shutdown worker processes after being idle for (time in minutes)
or set the value to >= your set session timeout.

and also check :

If this is a Windows 2003 IIS 6.0 server, please check the site's
application pool property. Verify the setting 'Shutdown worker processes
after being idle for(time in minutes)'.

The default setting of IIS6 is to shut down worker processes(web site/app
pool instances) if there is no new requests come in for 20 mins. In this
case, all the in-process sessions will be lost.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.171020.1 | Last Updated 11 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100