Difference between "InProc" and "stateServer" mode in SessionState on ASP.NET

as the title shows, I want to know what is the difference between the "InProc" and "stateServer" modes in SessionState on ASP.NET.

thank

+3
source share
3 answers

In InProc mode, the active session object is stored in RAM in the ASP.NET workflow (aspnet_wp.exe). This is usually the fastest, but more session data means that more memory is being used on the web server, and this can affect performance.

StateServer XML () (aspnet_state.exe). .

ASP.NET

+6
  • - -.
  • InProc. -. IIS aspnet_wp.exe w3wp.exe.
  • StateServer. Windows Server.
  • SQLServer. SQL Server .
  • . . , .

To specify the session state mode in web.config, select one of these values ​​for the mode parameter sessionState:

The file web.config element <sessionState>located under an element <configuration>, <system.web>.

+2
source

Source: https://habr.com/ru/post/1747009/


All Articles