473,480 Members | 3,017 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Help with the redirect code! Please!

2 New Member
I am currently revamping a website for a small business and there is one page giving me issues. I am doing it as a favor for a friend and am not by any means the most tech savvy on coding. There is a form page that consists of an email text field and comment section that goes right to the business. The problem is not the form that I have remade, it's the Thank you page that it directs to. The owner transferred all the pages and deleted the thank you page. It's on the web but I cannot seem to find it in the folders. I need to redirect the email page to the NEW thank you page. What code am I looking for to redirect?

Please help, thanks.
Aug 31 '07 #1
3 1683
ak1dnar
1,584 Recognized Expert Top Contributor
If there is a email sending form and if it is working, there should be a ServerSide Scripting language like Php,ASP,JSP/servlet. So the redirection to thank you page should trigger from that server side part.So what is in your web site? I mean language.
Aug 31 '07 #2
bcarlsonco
2 New Member
If there is a email sending form and if it is working, there should be a ServerSide Scripting language like Php,ASP,JSP/servlet. So the redirection to thank you page should trigger from that server side part.So what is in your web site? I mean language.
It's Arvadaflats.com, where it says form it reads:

<form action="http://svcs.dexclicks.com/svcs/formproc.jsp" method="POST">

BC
Aug 31 '07 #3
ak1dnar
1,584 Recognized Expert Top Contributor
It's Arvadaflats.com, where it says form it reads:

<form action="http://svcs.dexclicks.com/svcs/formproc.jsp" method="POST">

BC
So Its JSP. what you have to is, Put this line with the path for the thank you page. with some conditions on it.
Expand|Select|Wrap|Line Numbers
  1. IF _MAIL_SENDING_OK
  2. response.sendRedirect("path_to_thanks_page.html");
  3. ELSE
  4. response.sendRedirect("sending_failed.html");
Aug 31 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
1915
by: Bobby | last post by:
Hello everyone I have a question. The school I am working for is in the beginning process of having a webpage that will direct students to download there homework and be able to view there info...
1
2721
by: MikeM | last post by:
We are getting a behavior on a Response.Redirect("SomeUrl", True) that I'm hoping someone can explain. This all refers to the code snip at the end. By the way, this is all VB ASP.NET v1.0 code. ...
9
3554
by: Sandy | last post by:
Any help anyone can give me will be appreciated!!!! This is driving me c-r-a-z-y! All I can get from both of the above redirections is a redirect to a page named default.aspx. How do I make...
1
2828
by: john | last post by:
Hello, I am trying to convert a project from vb6 to vb.net. The code is a sample from an sdk for Canon digital camera's. I have gotten most of the issues resolved, but there are some that I am...
10
2139
by: isaac2004 | last post by:
hello i am trying to use a response redirect statment to show a message upon deletion of a record from a database. my database is ran though a page with a table with a delete option on the side....
5
4544
by: venner | last post by:
I'm having an issue with an ASP.NET website after upgrading to ASP.NET 2.0. The website makes use of a central authentication service (CAS) provided at the university I work for. Each page checks...
1
1712
by: Mike Hofer | last post by:
I really need some help, and I'd appreciate any that you folks can provide. The ASP.NET application in question uses version 1.1 of the .NET Framework. All of the pages use a common base class...
1
1739
by: Culley | last post by:
I've created a secure login site. Everything works fine except for one thing... the redirect. I want to redirect users to the correct page they are accessing (say they're just clicking a link...
1
6105
by: trunxnirvana007 | last post by:
'UPGRADE_WARNING: Array has a new behavior. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="9B7D5ADD-D8FE-4819-A36C-6DEDAF088CC7"' 'UPGRADE_WARNING: Couldn't resolve...
1
1777
by: cheesecaker | last post by:
Hi, I need a specific redirect out of mod_rewrite, and I've never done regex a day in my life. Understandably, this makes things difficult. Been trying for hours, now I give up trying to slave it out...
0
6920
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6760
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7022
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5365
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4799
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3013
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3004
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
206
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.