Session is one of the server side state management techniques where the a unique client id gets generated for the first request from the client and maintained during the session with the server. Each tie the request sends to the server with the session id, the server checked if the session id is live,it respond back to h client with the the required details.
There are 2 types of sessions:
1. InProc session: When the session is stored in the process memory of the browser, the session is called as the Inproc session.In this session, when the browser is closed, the session data gets vanished.
2. OutProc Session: When the session is maintained out of the process memory of the browser, it is called as OutProc session. In this case, the session is maintained outside in a separate server so that if the browser is closed, then also session will be maintained.