Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

What are the Session State Modes? Define each Session State mode supported by ASP.NET.  
ASP.NET supports three Session State modes.
1. InProc:This mode stores the session data in the ASP.NET worker process and fastest among all of the storage modes.Its Also effects performance if the amount of data to be stored is large.
2. State Server:This mode maintained on a different system and session state is serialized and stored in memory in a separate process.
State Server mode is serialization and de-serialization of objects. State Server mode is slower than InProc mode as this stores data in an external process.
3. SQL Server:This mode can be used in the web farms and reliable and secures 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.