当前位置: 代码迷 >> ASP.NET >> 怎么去掉asp.net网站的VIEWSTATE,太恶心了
  详细解决方案

怎么去掉asp.net网站的VIEWSTATE,太恶心了

热度:2086   发布时间:2013-02-25 00:00:00.0
如何去掉asp.net网站的VIEWSTATE,太恶心了
我用.net开发的网站查看源代码居然有这样的尾巴。感觉很恶心,请问如何去掉这样的尾巴?
下面是一个URL和一个源文件。

http://www.docvv.com/c-00002


<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTM3MDI4MDI4OQ8WBh4EbmF2XwU/PGEgc3R5bGU9IiBjb2xvcjojMDA1ZjljOyIgaHJlZj0iYy0wMDAwMi5odG1sIj7oh6rnhLbnp5HlraY8L2E+HgV0aXRsZQUM6Ieq54S256eR5a2mHglib29rQ291bnQCzC4WBAICD2QWBAIBDxYCHgRUZXh0BTA8bWV0YSBuYW1lPSJLZXl3b3JkcyIgY29udGVudD0i6Ieq54S256eR5a2mLSIgLz5kAgIPFgIfAwVnPG1ldGEgbmFtZT0iZGVzY3JpcHRpb24iIGNvbnRlbnQ9IuiHqueEtuenkeWtpi3orrrmlocs6Ieq54S256eR5a2mLei1hOaWmSzoh6rnhLbnp5HlraYt6K665paH5LiL6L29IiAvPmQCBA9kFggCAw8PFgIfA2VkZAIEDw8WAh8DBYYDPHRyPjx0ZD4gPGEgaHJlZj0iYy0wMDAwMjAwMDEyLmh0bWwiPuS/oeaBr+aKgOacrzwvYT4gPC90ZD48dGQ+IDxhIGhyZWY9ImMtMDAwMDIwMDAxMy5odG1sIj7mnLrnlLXmioDmnK8gPC9hPiA8L3RkPjx0ZD4gPGEgaHJlZj0iYy0wMDAwMjAwMDE2Lmh0bWwiPuW7uuetkeahpeaigTwvYT4gPC90ZD48dGQ+IDxhIGhyZWY9ImMtMDAwMDIwMDAxOS5odG1sIj7nlLXmsJTmioDmnK88L2E+IDwvdGQ+PHRkPiA8YSBocmVmPSJjLTAwMDAyMDAwMjIuaHRtbCI+5Yy755aX5L+d5Y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OguWutuS4jeWQjOeahOmAmuS/oeWNj+iurui9rOWMluS4uue7n+S4gOeahENBTue9kee7nOmAmuS/oe+8jOS7juiAjOWunueOsOS6hui+g+WlveeahOS6kuebuOi/numAmuaAp+S7peWPiue7n+S4gOeahOS4iuS9jeacuuebkeaOp+iDveWKm+OAguacrOaWh+S4u+imgeWBmuS6huS7peS4i+W3peS9nO+8mumAmui/h+avlOi+g+WQhOWOgglqaW5qaW5zZXUJamluamluc2V1EzIwMTItMTEtMDUgMTY6NTc6MzQBMAI1MQEwZAIFD2QWBmYPFQcFNDQyNTAGMjAxM
  相关解决方案