Although View State is designed to overcome the problems of maintaining state as outlined in the
previous exercise, you should carefully consider whether or not you use it. The values you store in
View State are sent to the browser and back to the server on every request. When you store many
or large values in View State, this increases the size of the page and thus negatively impacts performance.
Never store large objects like database records in View State; it’s often quicker to get the
data fresh from the database on each request than passing it along in the hidden View State field if
the amount of data that needs to be stored is large. Also, because the View State is stored within
the page and is thus transferred over the wire, you shouldn’t use it to store sensitive values such as
passwords