Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Why does my script run again, when I refresh my results page?

by Anonymous Monk
on Jun 28, 2000 at 06:31 UTC ( [id://20119]=note: print w/replies, xml ) Need Help??


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.
  • Comment on Re: Why does my script run again, when I refresh my results page?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://20119]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-24 21:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found