开发者

Reloading Page is giving rise to post data one more time (.NET issue)

开发者 https://www.devze.com 2023-03-08 13:27 出处:网络
I am trying to create something like shopping chart. The user adds products to his/her cart but if it click refresh button on the browser, the last product ,that is added before, is added one more tim

I am trying to create something like shopping chart. The user adds products to his/her cart but if it click refresh button on the browser, the last product ,that is added before, is added one more time. How can I solve this problem ?

Thanks i开发者_如何转开发n advance,


You're looking for the POST-Redirect-GET pattern.

0

精彩评论

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