ASP.NET Session State Modes: Some bullet points

0 comments

Note: Thank you for visiting my blog. However, this blog is not maintained actively anymore. This post is now also in my new blog. Feel free to leave a comment there.

Dive directly into topic, No beating around the bush

ASP.NET session state mode can be broadly classified into two modes: In-Proc and Out-Of-Proc.

As the name suggests In-Proc mode maintains session state data in memory of the web server. This means if the web application or the IIS restarts the session data is lost.

Out-Of-Proc maintains the data separately outside the memory of web server. This means your session data is not lost even if the web application/IIS restarts. This mode can again be classified into three categories: StateServer, SQLServer and Custom.