From: Niklas Frykholm Date: 2001-11-16T08:10:31+09:00 Subject: [ruby-talk:25359] Re: CGI beginner's trouble [Niklas Backlund] > But I want to save the text I entered to a text file (or whatever) and > send back some confirmation text -- I don't want the form to appear > again. If I try to acheive this with some test ( if cgi["get_text"] == > nil cgi.out{...} ) I will get stuck in the "presentation mode", because > when trying to reload the page, I have to repost the form data, which > will prevent me from getting the form back again... How do I make it > "forget" my previous entry? You have to get to the page in some other way than by reloading it (to prevent the web browser from reposting the data). For example, you could have a link at the bottom of the page that points to the script. // another Niklas