PDA

View Full Version : Redirect problem


Buckwheat
11-13-2005, 09:21 AM
Hello I have a problem. I am trying to do something that is probably pretty simple to do but I do not understand how to do it.

I need to go to pageZ from pageX, but I have to go to pageY first which is on a different server and they will not redirect for me.

Let me elaborate. My client wants people to click on a submit button on pageX on her server which takes the usre to her newsletter in a new instance of a browser on a different server which I have no control over. They enter their email, name, and state and click the submit button and they get a thank you page which you click the Thank you button and it closes the new instance of the browser on the remote server and reveals the original instance of the browser which she wants to be at pageZ where the user can download stuff. If we simply put a link to pageZ on pageX they do not have to sign up for her newsletter.

I can not redirect automatically as they will never see the sign up form.

I can not redirect on a time basis as the user may want to read the content of her pageX.

How can I redirect this page? Thank you min advance for your help.

Jerry S.
email: Buck@BuckSoft.BIZ

dntget0wned
11-13-2005, 03:44 PM
OK, this might work...
why don't you just copy the form from pageY
ex .
GOOGLE:

<form action=http://www.google.com/search name=f><input type=hidden name=hl value=en><input maxLength=256 size=55 name=q value="" title="Google Search"><br><input type=submit value="Google Search" name=btnG><input type=submit value="I'm Feeling Lucky" name=btnI></form>
This was taken directly from the site.
All you have to do is take the form from PageY
and put it on a new page, and replace the form action with the appropriate address.
ex.
<form action=http://www.google.com/search name=f>
started as
<form action=/search name=f>
I hope this helps or works.

Jon Hanlon
11-13-2005, 04:17 PM
The way I read this, the person must complete the registration in the pop-up for the main page to go to Z, yet you have no control over the pop-up.
The only way I can think of is to have the main page check if the pop-up's at the 'Thank You' page every 3 seconds or so and load Z if it is.
Need to see how you're creating the pop-up to be more specific.

Buckwheat
11-13-2005, 10:24 PM
Hello Jon and Aspirant, I really appreciate your response.

The code for creating the popup is below. The only thing I can think of to tell you is whenever I changed the links to make them stay in the same intance of the browser it aborts that instance of the browser upon clicking the thank you button.


<FORM name="ccopti" action="http://ccpro.roving.com/rnavmap/evaluate.rnav" target="_blank" method=get>
<INPUT type=hidden name="activepage" value="sdredirect">
<INPUT type=hidden name="m" value="8e6amrn">
<INPUT type=hidden name="p" value="oi">
<TABLE border="0" cellpadding="5" cellspacing="2" width="246" bordercolor="#FFFFFF">
<TR>
<TD align="center" bgcolor="#999999" class="small-bold" bordercolor="#FFFFFF" width="232">
<FONT color="#CC0000">
You'll receive the latest articles and news when you join Caterina's email list.
</font>
</td>
</tr>
<TR>
<TD align="center" class="small" bgcolor="#999999" bordercolor="#FFFFFF" width="232">
<SPAN class="bold">
<FONT color="#CC0000">
Enter Your Email:
</font>
</span>
<BR>
<INPUT type=text name="ea" size=15>
<BR>
<IMG src="images/spacer.gif" width="1" height="3">
<BR>



<INPUT type=submit name="go" value="Subscribe">



<BR>
</td>
</tr>
</table>
</form>



</div>



<!-- End: Constant Contact HTML for OptIn Tag -->