SYSK 39: ASP ViewState Stored as SessionState

Unquestionably, ViewState was one of the most valuable things that came with .NET.  The problem was that using ViewState to store large amounts of page data caused many performance problems due to round tripping large amounts of html data between client and server.

Well, now (in ASP.NET 2.0) you can store ViewState not only as encoded hidden variable (the standard behavior), but also wherever you store your session state (InProc, StateServer, SqlServer). 

Want to know how?  Then read a short article by Matt Gibbs “ASP.NET 2.0 Page State Persister” at  Make sure to note the pros/cons in the third paragraph.

Comments (0)

Skip to main content