Below are three important differences between session and viewstate.
|Data storage location||Browser Hidden fields||On Server|
|Accessible||In the same page.||Across pages|
In case you are new to session and view state please see the following ASP.NET training video on importance of Session and viewstate in ASP.NET: –
You can also see the following video on IEnumerator VS IEnumerable: –