What are the differences and similarities between "Viewstate" and "Session" in ASP.Net?

I need to store information across multiple pages and I was wondering what the difference is between "Viewstate" and "Session" in ASP.Net?

When is it preferable to use one or the other, and what are their similarities?

Also, what type of collection are each of these?
EindoofusAsked:
Who is Participating?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.