开发者

Clear POSTDATA in asp.net

开发者 https://www.devze.com 2023-02-12 05:20 出处:网络
Is there a way to clear POSTDATA (or HTTP POST) by asp.net after page get Sub开发者_StackOverflow中文版mitted?One of the ways is to redirect to a page (possibly to the same page) after the data is sub

Is there a way to clear POSTDATA (or HTTP POST) by asp.net after page get Sub开发者_StackOverflow中文版mitted?


One of the ways is to redirect to a page (possibly to the same page) after the data is submitted (HTTP POST performed). This however will lose the context and information from the initial POST. Depending on your needs, this might not be a problem. Or else, some tweaking might help, .e.g Redirect to the same page with some QueryString data.

0

精彩评论

暂无评论...
验证码 换一张
取 消