Hi, I have a form which when submitted sends a mail to a specified address. Does anyone know how I might stop the user hitting refresh and sending the same mail?
Thanks
Nick
Use a session variable, once the mail is sent, set the variable from lets say 0 to 1. Then check the variable value before sending the mail. If it is 0 send it, if it is 1, do something else.
Thanks Jim, I had a feeling it would be this, time to learn sessions then!