Session-Based View State

The View State is saved in the session for each user.  A session object is user specific and times out items when the user session times out.  This timeout can be configured by changing the timeout parameter in your application’s Web.config file.  Each session object is only accessible by the given user.  The view state is saved in serialized form in the session state and must be de-serialized when retrieved.

Managing .NET Session Data

.NET session data itself can be managed in three different ways:

Modify the sessionState key in your application’s Web.config file to choose between InProc, StateServer or SQLServer.