Recently switched to new win 2003 32 bit server, i am using IIS with Isolation mode to support iis 5.0
all my web apps been using for last 8 yrs, now on this new server getting session expiration issues, i have session timeout 180 minutes. within web.config. have almost 100 webforms within this webapp.
i have the following within web.config file, can someone please advice me:
Then surely that is the cause of application pool. in your application pool how many application is configured. and also make sure, if there are more application are working for same application pool then all aplication contains same .net framework.
But I prefer your application is working on individual app pool rather then sharing and also please check its parameter.
My Tech Blogs MCPD Enterprise and Web Application
MCTS Web, Window and Enterprise Application
I suspect it's your memory recycling settings; i.e, if you have a low value set for maximum virtual memory and maximum used memory the worker process will recycle when the value is exceeded.
I suspect it's your memory recycling settings; i.e, if you have a low value set for maximum virtual memory and maximum used memory the worker process will recycle when the value is exceeded.
cplusplus1
Member
138 Points
416 Posts
Session state expiration issue beeen using for last 8 years
Jun 13, 2012 11:17 AM|LINK
Recently switched to new win 2003 32 bit server, i am using IIS with Isolation mode to support iis 5.0
all my web apps been using for last 8 yrs, now on this new server getting session expiration issues, i have session timeout 180 minutes. within web.config. have almost 100 webforms within this webapp.
i have the following within web.config file, can someone please advice me:
<sessionState mode="InProc" cookieless="false" timeout="180"/> <httpRuntime executionTimeout="21600" maxRequestLength="2097151"/> </system.web>Thanksa lot for the helpful info.
subramaniyan
Member
16 Points
11 Posts
Re: Session state expiration issue beeen using for last 8 years
Jun 13, 2012 11:29 AM|LINK
Hi, You dont to handle this in IIS session state..?
amitpatel.it
Star
7976 Points
1865 Posts
Re: Session state expiration issue beeen using for last 8 years
Jun 13, 2012 11:39 AM|LINK
Then it might be problem in your IIS application pool setting, because your app is fine as your are running it since ling time without any error.
so is hardware same as old server?
if possible then create a new app pool and assing to this application. and check it
MCPD Enterprise and Web Application
MCTS Web, Window and Enterprise Application
cplusplus1
Member
138 Points
416 Posts
Re: Session state expiration issue beeen using for last 8 years
Jun 13, 2012 11:58 AM|LINK
Forgot to mention my iis configuration also for session state mgmt has 180 minute timout.......
This thing is happening randomly, no pattern at all.
Users started complaining all of a sudden it shows session expiration message, message session state loss.
amitpatel.it
Star
7976 Points
1865 Posts
Re: Session state expiration issue beeen using for last 8 years
Jun 14, 2012 07:03 AM|LINK
Then surely that is the cause of application pool. in your application pool how many application is configured. and also make sure, if there are more application are working for same application pool then all aplication contains same .net framework.
But I prefer your application is working on individual app pool rather then sharing and also please check its parameter.
MCPD Enterprise and Web Application
MCTS Web, Window and Enterprise Application
linush
Member
33 Points
7 Posts
Re: Session state expiration issue beeen using for last 8 years
Jun 14, 2012 11:18 PM|LINK
I suspect it's your memory recycling settings; i.e, if you have a low value set for maximum virtual memory and maximum used memory the worker process will recycle when the value is exceeded.
Please go to this link for more details:
http://www.c-sharpcorner.com/uploadfile/technoNet/session-timeouts-causes-and-remedies/
hans_v
All-Star
35986 Points
6550 Posts
Re: Session state expiration issue beeen using for last 8 years
Jun 14, 2012 11:53 PM|LINK
Also, check this
http://blogs.msdn.com/b/johan/archive/2007/05/16/common-reasons-why-your-application-pool-may-unexpectedly-recycle.aspx
rkapisetti
Member
39 Points
4 Posts
Re: Session state expiration issue beeen using for last 8 years
Jun 18, 2012 10:39 PM|LINK
Just a question, are your application on any load balancer? if yes, there are few thigs to be considered
1. ensure you have the machine key added in all nodes of your load balancer
2. ensure the app ids are same on all nodes of your load balancer
thanks
Ravi