Monday, March 24, 2008

Refresh double submit problem

After a HTTP post request, if the user click 'refresh', it may resubmit the form and cause problem.

Redirect the form submit action after complete is a good solution. It changes the 'history'. Ff the user tries to refresh the page, only the result view page is refreshed without form being resubmit.

No comments: