Thursday, 16 December 2010

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

Click Here To View Latest ASP.NET Questions


 

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.

No comments:

Post a Comment