From: gwtmp01@... Date: 2005-11-10T15:20:07+09:00 Subject: Re: How to remove POSTData? On Nov 9, 2005, at 12:17 PM, sayoyo@yahoo.com wrote: > I write a simple form which have only one text field, I type somthing > inside the text filed, then click on a button, the controller > retrieves > it from the @params['textone']. Everything works fine, however, when I > refresh the web page, it always ask to confirm the if I want to resend > the postdata, even there is nothing inside the text field. Perhaps the Post/Redirect/Get pattern can help you out: http://www.theserverside.com/patterns/thread.tss?thread_id=20936 It sounds like you are running in a rails environment and someone more knowledgeable than me about rails will have to comment on whether this pattern can be (or already is) implemented by Rails. The idea is that instead of responding with a page of content to a POST request, the controller should respond with a Redirect (most likely to itself). The redirect will cause the browser to issue a GET back to the controller and the original POST request will *not* be saved in the browsers history. If you do a page reload at this point you end up reissuing the GET and not the original POST. Gary Wright