Click here to Skip to main content
15,891,694 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Session Variables losing their values for all user
before timeout limit



Please Help me.
thanks in advance
Posted
Updated 10-Dec-12 23:51pm
v2
Comments
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....

1 solution

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.
 
Share this answer
 
v2

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900