Explain what are the different Session State Modes that supports ASP.NET?

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

ASP.NET supports three Session State modes. Those are

InProc: This mode is faster among all the storage modes and it stores the session data in the ASP.NET worker process. It also effects on performance of data if the amount of data to be stored is large.

StateServer: This mode is basically for serialization and de-serialization of objects. State Server mode is slower than InProc mode as it stores data in an external process. State Server mode is maintained on different systems and the session state is serialized and stored in memory in a separate process.

SQLServer: Basically this mode can be used in the web form which secures the session state and it is reliable for the storage of a session state. In this storage mode, the Session data is serialized and stored in a database table in the SQL Server database.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response