{"id":15,"date":"2007-05-01T11:56:00","date_gmt":"2007-05-01T15:56:00","guid":{"rendered":"http:\/\/warriormill.com\/?p=15"},"modified":"2009-04-09T07:15:58","modified_gmt":"2009-04-09T11:15:58","slug":"viewstateeliminator-snag","status":"publish","type":"post","link":"https:\/\/warriormill.com\/2007\/05\/viewstateeliminator-snag\/","title":{"rendered":"ViewstateEliminator Snag"},"content":{"rendered":"

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.<\/p>\n

But the increasing size of viewstate to client is becoming alarmingly large on the complex and large web applications.<\/p>\n

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<\/p>\n","protected":false},"excerpt":{"rendered":"

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 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49],"tags":[60,69],"_links":{"self":[{"href":"https:\/\/warriormill.com\/wp-json\/wp\/v2\/posts\/15"}],"collection":[{"href":"https:\/\/warriormill.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/warriormill.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/warriormill.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/warriormill.com\/wp-json\/wp\/v2\/comments?post=15"}],"version-history":[{"count":3,"href":"https:\/\/warriormill.com\/wp-json\/wp\/v2\/posts\/15\/revisions"}],"predecessor-version":[{"id":684,"href":"https:\/\/warriormill.com\/wp-json\/wp\/v2\/posts\/15\/revisions\/684"}],"wp:attachment":[{"href":"https:\/\/warriormill.com\/wp-json\/wp\/v2\/media?parent=15"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/warriormill.com\/wp-json\/wp\/v2\/categories?post=15"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/warriormill.com\/wp-json\/wp\/v2\/tags?post=15"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}