Solved

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

Posted on 2009-05-15
3
335 Views
Last Modified: 2012-05-07
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
Comment
Question by:kunalap
3 Comments
 
LVL 9

Accepted Solution

by:
wellhole earned 100 total points
ID: 24396882
Put this after all the code you run...... objCDOMail.Send

Response.Redirect("thankyou.htm", True)
0
 
LVL 3

Expert Comment

by:channa_m
ID: 24396954
After objCDOMail.Send line use the following code

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

Open in new window

0
 
LVL 1

Author Closing Comment

by:kunalap
ID: 31581976
thanks. i had figured it out on my own in the meantime.
thank you.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question