Click to See Complete Forum and Search --> : vbscript in asp (newbie)
Pixie
February 22nd, 2001, 09:25 PM
Hello, I have a mail response script which I would like to call a "thank you" page already created in an html file. How would I call this file? using response.write or some other command.
Thanks in advance for any assistance.
Johnny101
February 23rd, 2001, 04:01 PM
when you're email has been sent - do a response.redirect "thankyou.html" or a server.transfer "thankyou.html" - if you have asp 3.0.
i think in both cases, you must have buffering on to do a redirect. add this line to the top of your mail page:
<% Response.Buffer = true %>
hope this helps,
john
John Pirkey
MCSD
http://www.ShallowWaterSystems.com
http://www.stlvbug.org
Pixie
February 25th, 2001, 06:32 PM
Thank you very much, worked great!
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.