html - Stop browsers asking to resend form data on refresh? -


i have form submission via post. submit form, , well, if try reload new page form goes after submission, "do want resend data" message (firefox). might happen in other browsers too, i'm not sure.

does know of way stop message popping can go ahead , refresh page. it's not production environments - users may submit same form twice!

you need use the post-redirect-get pattern.

make form respond redirect request.
way, when user refreshes page, re-send get.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -