I have created a contact form in .asp, but I want to have it redirect to a thank you page after the form is sent. Is there anyway to do this without using .php?
john_k
3:15 pm on Apr 27, 2004 (gmt 0)
Add this to the end of the .asp page that handles the form submit:
Response.Redirect "thankyou.html"
ecreech
3:24 pm on Apr 27, 2004 (gmt 0)
Where on the page do I add that?
john_k
8:56 pm on Apr 27, 2004 (gmt 0)
At the end of the code that handles the POST from your contact form. i.e. it is the last bit of logic that occurs after your code has processed the contact form.
vkaryl
12:42 am on Apr 28, 2004 (gmt 0)
Might be a good idea to post the code for your form (WITHOUT urls); that way someone who's clever with this sort of thing can really point you in the right direction....