Clear POSTDATA in asp.net
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.
精彩评论