ViewState: We can hold the values in the viewstate and we can retrieve it wherever it is needed within a page.
The value will be saved on the client side.
Session : We can hold the values in the session and we can retrieve it back wherever it is needed in an application
The value will be saved on the server side.
Source: My Experience | Asked In: Many Interviews |