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.

All .net-4.5 Questions

Ask your interview questions on net-4-5

Write Your comment or Questions if you want the answers on net-4-5 from net-4-5 Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





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

--------- Tutorials ---