Welcome to MSDN Blogs Sign in | Join | Help

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 http://msdn.microsoft.com/asp.net/default.aspx?pull=/library/en-us/dnaspp/html/PgStPrst.asp.  Make sure to note the pros/cons in the third paragraph.

Published Thursday, January 12, 2006 4:29 AM by irenak

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker