Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Re-Direct to Specific Page??
Old 08-07-2009, 05:43 AM Re-Direct to Specific Page??
rolda hayes's Avatar
Wannabe Adventurer...

Posts: 960
Name: Darren
Location: England
Trades: 0
Ok, here goes....

Is it possible to have a browser re-direct a user to a specific page depending on where they came from a specific number of pages back?

I'll try and explain what I am trying to do...

I have an EPDQ payment system that has 1 set "return URL" but I have the system is being used for a number of different sites to take payments.

When the buy button is clicked on SITE A, it takes you to the basket which is hosted on SITE B.

After payment, the confirmation page is displayed (Still hosted on SITE B)

But can this confirmation page re-direct the user back to a page on SITE A?

It would also need to work with:

SITE C buy button > SITE B checkout and confirmation > Then re-direct back to SITE C.

The confirmation page will always be 3 pages after the page it needs to go back to.

Wow, makes sense in my head but not sure if it comes across in print ok?!

Hope someone can make sense of it!
__________________
I Just a test to see what happens...
Please login or register to view this content. Registration is FREE

"Let us be thankful for the fools. But for them the rest of us could not succeed..."
rolda hayes is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-07-2009, 11:26 AM Re: Re-Direct to Specific Page??
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Not with javascript.

Store the return value in a form field and use server side code.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-11-2009, 10:51 AM Re: Re-Direct to Specific Page??
rolda hayes's Avatar
Wannabe Adventurer...

Posts: 960
Name: Darren
Location: England
Trades: 0
Thanks for the reply,

Would anybody have any suggestions on the PHP code needed for this?

*Feel free to move to the PHP forum Chris!
__________________
I Just a test to see what happens...
Please login or register to view this content. Registration is FREE

"Let us be thankful for the fools. But for them the rest of us could not succeed..."
rolda hayes is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Re-Direct to Specific Page??
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.38854 seconds with 12 queries