What is the intended use of an ASP.NET session?
Any user data that needs to be persistent across different application pages for a logged in user can be stored in a session. The objects that need to be persisted in the session must be serialized.
It is generally a good idea to use the session a little sparingly because as the number of concurrent users increases, the load on the server memory increases and at some point it recycles the memory causing all session data to be deleted.This causes a premature session timeout.
a source to share
In ASP.NET MVC2, TempData is persisted in the session.
Some of them are documented here: ASP.NET MVC - TempData is good or bad practice and here Tempdata improvements .
a source to share
A session is used to store information for each client.
Every time a new client makes a connection, asp.net starts a new session for the newly connected client. You might want to store some information in the current client session and display information about the execution of some operation based on his / her session information.
a source to share