Help with a redirect system...can this be done? How?

Discussion in 'Programming' started by lsample20, Mar 14, 2007.

  1. #1
    I need a system of redirects setup that can accomplish the following. I will explain it a couple of different ways so that it is clear, as it can kind of get confusing:

    I need the user to visit "domain A". Upon clicking any of the links, the user is redirected to "domain B", from which the user is then automatically directed to the final destination through an automatic click from the "domain B".

    The end user shouldn't notice anything other than they clicked on a link from "domain A" and are now at the final destination. The rest should be done behind-the-scenes so to speak.

    Preferably, after the initial click, the user sees a page that shows a loading bar, with something like, "Taking you to the Offer". Like you typically see on expedia or something. "Processing your request" as in the expedia example. While they see this, the redirect is taking place.

    To be more specific, here is an exact example of something that I would like to do:

    Visit http://www.creditcards.com/balance-transfer.php, and click on one of the offers.

    You will notice that it takes you to a page that says, "Please wait you are being take to the credit card of your choice" with a loading bar. This is what I want.

    The difference here though, is that I want the click to look like it comes from "domain B" instead of "domain A" which is where the user makes the initial click. This is why I need the ability to have a redirect, and an automatic, behind-the-scenes, second click on the same offer.

    To summarize:

    User clicks on offer1 from domain A. "Processing" page appears while in the background the browser is redirected to domain B where there is an automatic click on the same offer...and then the user is taken to the final destination.

    So, I need a dynamic system where I can setup the link from domain A to start the automatic redirect and click on domain B. My offers will constantly be changing and I will be setting up new offers, so I need to be able to create these links on the fly that the system will recognize and perform the correct redirect to get them to domain B and the automatic click there.
     
    lsample20, Mar 14, 2007 IP
  2. rgchris

    rgchris Peon

    Messages:
    187
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    PHP and header redirects might be the way to go with this.
     
    rgchris, Mar 14, 2007 IP