From: James Britt Date: 2005-11-10T03:08:45+09:00 Subject: Re: How to remove POSTData? sayoyo@yahoo.com wrote: > Hi, > > 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. > > Does someone know how to clean the POSTDATA or how to manage it. Don't refresh the browser. That just resends the POST request from the previous page; it does not submit the current page. James -- http://www.ruby-doc.org - Ruby Help & Documentation http://www.artima.com/rubycs/ - Ruby Code & Style: Writers wanted http://www.rubystuff.com - The Ruby Store for Ruby Stuff http://www.jamesbritt.com - Playing with Better Toys http://www.30secondrule.com - Building Better Tools