There are five primary session state modes present in ASP.NET.

  • InProc Mode – Stores session state in the web server memory
  • StateServer Mode – Stores session in ASP.NET state service
  • SQLServer Mode – Store the session state in a SQL database
  • Custom Mode – Developers can specify the storage provider here
  • Off Mode – Completely disables the session state
BY Best Interview Question ON 19 Jan 2019