What are the advantages and disadvantages of using Outproc Session State?

 Posted by Tripati_tutu on 10/7/2010 | Category: ASP.NET Interview questions | Views: 3415 | Points: 40

The advantages of using session state are:

• It ensures data durability, since session state retains data even if ASP.NET work process restarts.
• It works in multi-process configuration, thus ensures platform scalability.

The disadvantages of using session state are:

• Since data in session state is stored in server memory, it is not advisable to use session state when working with large amount of data.
• Session state variable stays in memory until you destroy it, so too many variables in the memory that effects on the performance of the session state.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response