ViewState Chunking in ASP.NET 2.0

ASP.NET 2.0 introduces the ViewState Chunking mechanism. This means that if your ViewState is too large then it will be broken into small chunks. The reason behind this feature is that many firewalls and proxies does not accept the huge ViewState sizes.

You can set the MaxPageStateFieldLength property in the web.config <pages> section. The property represents the number of bytes. By default the value is -1 which means no chunking.

<pages maxPageStateFieldLength="15">

</ pages>

 

 

powered by IMHO 1.3

Print | posted @ Friday, June 09, 2006 9:52 PM

Twitter