Interview answers verified by specialists.
Find interview questions and answers on this website:
HTTP is a stateless protocol; it can't hold the user information on web page. If user inserts some information, and move to the next page, that data will be lost and user would not able to retrieve the information. For accessing that information we have to store information. Session provides that facility to store information on server memory. It can support any type of object to store. For every user Session data store separately means session is user specific. Storing the data in Session object. Session [''message''] = ''Hello World!''; Retreving the data from Session object. Label1.Text = Session[''message''].ToString();