Link to home
Start Free TrialLog in
Avatar of kunalap
kunalapFlag for India

asked on

HTML to ASP feedback form needs to go back to HTML "thank you" page

hi.
im a complete newbie to ASP.
somehow i've managed to put in a feedback form in HTM on my site which when submitted to a ASP page to take the name, contact number, email etc and send it to me on my email address.

this is done using CDONTS. the last line of the code is "objCDOMail.Send".

now, my query is, provided this email goes through successfully, the asp page should redirect to another "thankyou.htm" page which is nicely formatted like the rest of my site.

any help is appreciated.
thanks.
ASKER CERTIFIED SOLUTION
Avatar of wellhole
wellhole

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
After objCDOMail.Send line use the following code

Response.Redirect("ThankYou.html", true);

Open in new window

Avatar of kunalap

ASKER

thanks. i had figured it out on my own in the meantime.
thank you.