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 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