in reply to Why does my script run again, when I refresh my results page?
Yes. That is a problem. Reloading the script is equivalent to re-running it. The reason why the "results" page won't display is because it is not an "actual page" but rather just generated by the CGI program. As some of the posts here have suggetsed, the best way to solve it is to prevent the data from being re-entered.
You could do this by 1) having your script check for duplicate data or 2) maybee write a cookie to their side that lets your script know whether this person has "submitted" before.
|