Print Page | Close Window

Redirect??

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=5656
Printed Date: 30 March 2026 at 9:20pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Redirect??
Posted By: Lucent
Subject: Redirect??
Date Posted: 10 September 2003 at 2:26pm

How do I modify this code to direct to pop up window and say thank you. Mail Sent.  I tried to fill between"", but no luck.

'*******************************************************
'Redirect to thank you page or write thank you
'*******************************************************
IF form_redirect = "" THEN
Response.Write("Thank You. Mail Sent.")
ELSE
Response.Redirect(form_redirect)
END IF




Replies:
Posted By: MadDog
Date Posted: 10 September 2003 at 2:34pm
Response.Redirect("thankyou.asp")

That will redirect the page to the "thankyou.asp" file where you can add a "Thank you" message.

-------------
http://www.iportalx.net" rel="nofollow">


Posted By: Lucent
Date Posted: 10 September 2003 at 3:25pm

I created a thankyou.asp then change the code to thankyou.asp.  It still jumps to an empty page says Thank you. Mail Sent.

IF form_redirect = "" THEN
Response.Write("Thank You. Mail Sent.")
ELSE
Response.Redirect("thankyou.asp")
END IF




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net