?
Solved

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

Posted on 2009-05-15
3
Medium Priority
?
340 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 9

Accepted Solution

by:
wellhole earned 300 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

801 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