I'm running a service from my page (partners.mydomain.com) in an iframe on a partners site (
www.partner.com). When the user clicks a link in the iframe on the hosting server, they open a php script on my server (
www.mydomain.com/redirect.php?args=vals) that redirects to a third site (
www.thirdparty.com). The redirecting script logs clicks to a database. The
www.thirdparty.com site needs to know the referer of the visitor to work correctly
When I go through this process in firefox the page and referer shows up correctly in my db log: the page is the redirecting script (
www.mydomain.com/redirect.php) and the referer is the "iframe-page" (partners.mydomain.com).
HOWEVER, when I do the same in Internet Explorer the referer shows up as NULL, which basically brakes the functionality in the thirdparty site. Does anyone know how I can repair IE's broken referer functionality? (Or am I doing something wrong...?)
I have some links on my own site as well,
www.mydomain.com that uses the same redirect-script. When clicking links here, both page and referer shows up valid in both my db log and the thirdparty site.
Any ideas anyone?