There are different Session State Modes depending on various storage options for session data in ASP.NET
- InProc: It is default mode. It has application scope. It stores session state in memory on the Web server. It is the only state mode that supports the Session_OnEnd event.
- StateServer: It stores session state in a separate process called the ASP.NET state service. State Server mode ensures that session state is preserved if the Web application is restarted
- SQL Server: It stores session state in a SQL Server database. It ensures that session state is preserved if the Web application is restarted.
- Custom: It specifies that you want to store session state data using a custom session state store provider.
You can change the mode into the web.config file as:
Posted On: 24-Dec-2015 00:11