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
Referring URL causing issues on target web page
Old 05-20-2005, 10:07 AM Referring URL causing issues on target web page
Junior Talker

Posts: 2
Trades: 0
Hello all,

We run a free service for our local community to help promote their busines online by displaying links to other web sites in the local community but we are having issues...

Here is the scenario - a web page contains an iframe displaying community partner web sites. The iframe size and other attributes of the iframe are configured for each community partner's web site.

The iframe is generated by javascript embedded on the web page. So when the embedded js code executes it calls a js file on the server. The js file builds a url for the src attribute in the iframe and then renders the iframe. The iframe calls the url within the src attribute and the server sends back the partners links.

The iframe displays the links on partner a's web site.

Now! When a person clicks on a link in the partner a's iframe the partner link sends them to a php file on the server which records the click and then executes the header(location:...) call and sends them to partner b's web site.

Now when the person is redirected to partners b's web site their own iframe seems to have used the previous partners src url (partner a)!! so what happens is that the new partners web site (partner b) displays the previous partners links data (partner a) within their own iframe. If I do a deep reload of the web page it still displays the previous partners data! When I load a web browser and go directly to the partners site the iframe displays the correct data.

Now when I look at the properties of partner b's web page the referring url file contains the src for the previous partners (partner a) iframe src call. It seems that somehow the iframe of partner a's web page is being used by partner a's src url for the iframe.

This issue occurs in all major web browsers

Help!

Best Regards

Zanis
zanis is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-20-2005, 11:47 AM
OmuCuSucu's Avatar
Vi Veri Veniversum Vivus

Posts: 1,168
Name: Dragos-Valentin
Location: Cluj-Napoca, RO
Trades: 0
is that not a js problem?
__________________
.
» Please remember to add to my Talkupation if you enjoyed my post. Thank you :)
.
OmuCuSucu is offline
Reply With Quote
View Public Profile
 
Old 05-20-2005, 02:57 PM
0beron's Avatar
Defies a Status

Posts: 1,832
Location: Somewhere else entirely
Trades: 0
Probably - moved.
__________________
UPDATE 0beron SET talkupation = talkupation + lots WHERE post = 'helpful';

Please login or register to view this content. Registration is FREE
(aka MSN handwriting for forums)
0beron is offline
Reply With Quote
View Public Profile Visit 0beron's homepage!
 
Reply     « Reply to Referring URL causing issues on target web 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.13453 seconds with 11 queries