Session modes which stores session Information in Current Application Domain - InProc
Q. Which session modes stores session Information in Current Application Domain?- Published on 16 Jun 15a. InProc
b. StateServer
c. SQLServer
d. Off
ANSWER: InProc
InProc session mode stores its session data in a memory object on that application domain. This is handled by worker process in application pool. So if you restart the server you will lose the session data. In web.config file you can mention Session mode and also you have to set the Timeout.
< system.web>
< sessionState mode=”InProc” timeout=”30”>
< /system.web>