Session
Session
Session is a state that is used to store and retrieve values of a user while the user
is navigating between pages in a web application
It is used to store value for the particular time session
The server retains no knowledge of variable values that were used during previous
requests. ASP.NET session state identifies requests from the same browser during
a limited time window as a session, and provides a way to persist variable values
for the duration of that session. .
The value stored in a session variable can be accessed from any page within the
same project.
For Eg: Assume a web application have 5 pages named Page 1,2,3,4,5. if we store
a session variable called X in Page1, then the value of that variable can be
retireved in Page2, 3,4,5.
Assume Page1 contains Textbox1 and Textbox2
Assume Page2 contains one Textbox named Textbox1
Assume there are 3 pages in Solution