Yesterday I talked briefly about Viewstate chunking. I am not aware of any publicly available resources or samples on view-state chunking. However, here’s an example of what chunking may look like (with a heavy emphasis on may):
<pages maxPageStateFieldlength="1000" .. >
Resultant page
<input type="hidden" name="__VIEWSTATEFIELDCOUNT" value="3" />
<input type="hidden" name="__VIEWSTATE" value =".." />
<input type="hidden" name="__VIEWSTATE1" value =".." />
<input type="hidden" name="__VIEWSTATE2" value =".." />
In this example, the page state is split into a number of fields. Since the size of the combined state is 3000, the page state is split into 3 hidden fields, along with a hidden field indicating the count of fields. Notice that each view-state chunk (after the first one) is appended with a count index.
Currently listening to: Shimmy - System of a Down
Posted
02-23-2005 2:27 PM
by
Raymond Lewallen