i deployed asp.net application in two asp.net servers and users access this application through F5 Load balance.
here we facing issue when user was idle on asp.net page for 10 min , and after when user click the button on page, and page can not be displayed message appers in IE,
and in firefox below message
The connection to the server was reset while the page was loading.
Member
6 Points
22 Posts
what is the best way to handle session state when asp.net servers behind load balancer
Jan 05, 2016 08:04 PM|BetterNet|LINK
Hi
i deployed asp.net application in two asp.net servers and users access this application through F5 Load balance.
here we facing issue when user was idle on asp.net page for 10 min , and after when user click the button on page, and page can not be displayed message appers in IE,
and in firefox below message
The connection to the server was reset while the page was loading.
In IIS default session timeout value is 20 Min
In F5 TcpIP time out value :10 Min
All-Star
20376 Points
6505 Posts
ASPInsiders
MVP
Re: what is the best way to handle session state when asp.net servers behind load balancer
Jan 05, 2016 08:48 PM|BrockAllen|LINK
Session state is a brittle feature to rely upon:
http://brockallen.com/2012/04/07/think-twice-about-using-session-state/
DevelopMentor | http://www.develop.com
thinktecture | http://www.thinktecture.com/
Contributor
4732 Points
1001 Posts
Re: what is the best way to handle session state when asp.net servers behind load balancer
Jan 05, 2016 10:46 PM|ninianne98|LINK
suggest setting up SQL ASP.NET session management https://support.microsoft.com/en-us/kb/317604 and http://www.codeproject.com/Articles/104082/Configuring-ASP-session-state-on-SQL-server
agree with Brock that session is brittle, so avoid it for using anything that isn't truly short lived and ok if it gets wiped out.
Mark as Answer if this response was helpful.
Member
6 Points
22 Posts
Re: what is the best way to handle session state when asp.net servers behind load balancer
Jan 06, 2016 07:31 PM|BetterNet|LINK
How to configure sql server session state if there is two asp.net web front end servers behind load balance.?
Contributor
4732 Points
1001 Posts
Re: what is the best way to handle session state when asp.net servers behind load balancer
Jan 06, 2016 07:43 PM|ninianne98|LINK
see the articles I referenced https://support.microsoft.com/en-us/kb/317604 and http://www.codeproject.com/Articles/104082/Configuring-ASP-session-state-on-SQL-server
Mark as Answer if this response was helpful.