I'm no CGI expert, but my best guess is that you are not going to be able to stop the user from resending the data, so you are going to have to make sure you ignore the resent data. I would do this by generating a random number in a hidden input field when creating the form. Then you can check that number to see if you've already gotten a POST with it, and ignore the second POST if that's the case.
Paul 1:59pm, Ingo Weiss wrote: > Hi, > > this must be a common problem and I was wondering what commonly used > strategies to solve it are: > > How can I avoid that a user re-sends a POST form when hitting the reload > button on a result page? > > The browser typically warns you when you want to do that but I was > wondering whether there is an easy way to make it impossible. > > > Thanks for any hint! > Ingo Weiss > > > > > > > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > > --------------------------- 404 Error - Item Not Found <haiku> You step in the stream, but the water has moved on. That page is not here. </haiku> --------------------------- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>