In Process Mode:
This is default mode and useful for small application which is hosted on single server. Advantages: - Fastest mode - Simple configuration. Disadvantages: - Session data will be lost if worker process or application domain recycle. - Not ideal for web garden and web form.
Out-of-process session mode(State server mode):
This mode is useful for highly available and scalable applications.Session state is stored in a process called aspnet_state.exe that runs as a windows service which listens on TCP port 42424 by default. Advantages: - Supports web farm and web garden configuration. - Session data is persisted across application domain recycles.This is achieved by using separate worker process for maintaining state.
Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!