Forums

ASP

This topic is locked

Prevent from going BACK or refresh

Posted 18 Oct 2007 04:58:00
1
has voted
18 Oct 2007 04:58:00 Javier Castro posted:
Hi All,

This is interesting. I have an ASP page that receives and displays data from server. In the backgrond the page has a CDOSYS object sending an email to the person that filled a form in a prior page. My problem: I need to prevent the user to refresh the page because keeps sending email. Going back becasue the page gets the data from another server does not get back to that server but return to my page and send another email. So it goes on and on.

My solution would be to have soe script that would allow my script to send email only once even if the page refreshes. My page is in a HTTPS enviromnet and do not know what to do. Help would be much appreciated and of course ideas....samples.

Javier

Reply to this topic