Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 345
  • Last Modified:

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.
0
kunalap
Asked:
kunalap
1 Solution
 
wellholeCommented:
Put this after all the code you run...... objCDOMail.Send

Response.Redirect("thankyou.htm", True)
0
 
channa_mCommented:
After objCDOMail.Send line use the following code

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

Open in new window

0
 
kunalapAuthor Commented:
thanks. i had figured it out on my own in the meantime.
thank you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now