ViewstateEliminator Snag

I have hit a small snag when it comes to the average life expectancy of and keeping its viewstate around. should I really keep it around anymore than a couple of hours. I understand that the point of viewstate was to have a way to rebuild the control tree with out having to keep the information on the server.

But the increasing size of viewstate to client is becoming alarmingly large on the complex and large web applications.

a solution that a friend of mine sugested is that if we use SQL server as a storage medium only keep viewstate up to 24 hours and then simply delete them. Or through a configuration in the web config

Leave a Reply

Your email address will not be published. Required fields are marked *