Forums

This topic is locked

Send email on refresh

Posted 27 Mar 2003 21:12:56
1
has voted
27 Mar 2003 21:12:56 Jelle-Jacob de Vries posted:
When I refresh my page with an emailscript in it, the email is been sent again.
My mailscript contains an if then statement. <% If request("Username" <> "" then .....

How can I solve this? I only want the email to be sent once.

Replies

Replied 28 Mar 2003 02:28:27
28 Mar 2003 02:28:27 asp asp replied:
Try not refreshing the page this should solve the sending another email problem <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
Replied 28 Mar 2003 09:22:34
28 Mar 2003 09:22:34 Jelle-Jacob de Vries replied:
What if people use the browser refresh button?
Replied 28 Mar 2003 13:59:25
28 Mar 2003 13:59:25 asp asp replied:
just redirect them to a new page like a thankyou page after they submit the form.

Reply to this topic