开发者

Deleteing cache upon submit

开发者 https://www.devze.com 2022-12-22 03:09 出处:网络
I have an asp.net web form (c#, .NET framework 3.5) that returns to its开发者_如何学Pythonelf after the user clicks the submit button. I think that some values of the form are cached (some controls in

I have an asp.net web form (c#, .NET framework 3.5) that returns to its开发者_如何学Pythonelf after the user clicks the submit button. I think that some values of the form are cached (some controls in a "placeholder" are out of position... meaning they have moved slightly up or down on the web form).

How can I delete the cache after user clicks submit, and ensure that the form reloads fresh, after submit?


You could do a Response.Redirect back onto the same page. That will force a completely new page load.

0

精彩评论

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

关注公众号