views:

43

answers:

1

I'm doing a form submission on my ASP.NET page. After the user has pressed submit I want them to have a completely fresh version of the page so that they cant press reload and resubmit and so its a completely clean start.

I gather that Server.Transfer() is bad, I know I could maybe post a random string in the URL. But is there a better way?


See also:

+3  A: 

See the POST-REDIRECT-GET pattern. There is no need to add random query strings.

David Dorward