We help IT Professionals succeed at work.

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

Eindoofus
Eindoofus asked
on
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?
Comment
Watch Question

Explore More ContentExplore courses, solutions, and other research materials related to this topic.