How to handle form submission ASP.NET MVC Back button?

Posted by melaos on Stack Overflow See other posts from Stack Overflow or by melaos
Published on 2010-04-13T08:54:25Z Indexed on 2010/04/13 9:03 UTC
Read the original article Hit count: 431

Hi guys, i have a form which allows the user to key in the data and then submit. if everything works well on this action result, then i will redirect the user back to a thank you page.

my problem right now is that when the user click on the back button, they will be able to go back to the form page and the inputs will still be there.

and if the user just click on submit again, i will be getting some potential weird bugs.

so in terms of asp.net mvc, what's the best way to handle users who click on the back button?

thanks!

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about mvc