Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by iguanodon (Priest)
on Jan 03, 2003 at 20:24 UTC ( [id://224114]=note: print w/replies, xml ) Need Help??


in reply to Why does my script run again, when I refresh my results page?

One way I've handled this is to use a session management framework and put something in the session on the first submit to indicate that it has been processed. I check for the presence of this flag before doing anything with the form data and show an appropriate message if I see that it's already been done.

I use Apache::Session but there are other options.

  • 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://224114]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-04-23 12:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found