What are the conclusions on Application and Session state variables in a web farm or a web garden?

 Posted by Bharathi Cherukuri on 7/25/2012 | Category: ASP.NET Interview questions | Views: 1460 | Points: 40

In the user's session, a single client can interact with different servers or CPU's.
This has the following implications for Application and Session state variables:

1) Application state variables are unique to each separate instance of the Web application.
If the Web application is running on a Web garden or a Web farm, Clients can share information through Application state.

2) Session state variables are stored in-process by default.
You have to specify a Session state provider inorder to enable Session state in a Web garden or Web farm.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response