Explain the various modes for the Session state in ASP.NET?
Explain the various modes for the Session state in ASP.NET?
Answer
There are various modes for storing session state:
InProc: The session state is stored in the memory on the web server. This is the default mode.
Custom mode: you can specify a custom storage provider.
Off mode: disables the session state.
OutProc: There are two ways to handle this mode:
StateServer: The session state is stored in a separate process known as ASP.net state service. The session state is retained even if the application server is restarted and is available to multiple Web servers.
SQLServer: Session state is stored in a database, thereby preserving the session state even if the Web application is restarted. Session state can be accessed by multiple Web servers in a Web farm.
Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website.
If you are using this website then its your own responsibility to understand the content of the website