I am doing a javascript redirect to one of my partner site. Inside page1.html I have location.href = 'http://www.myfriendsite.com'; PHP: Whenever some one clicks the link page1.html from www.mysite.com page1.html shows as referer while using FireFox When using Internet Explorer www.mysite.com itself shows as the referer. what code should I be using in page1.html so that it(page1.html) shows as the referer in both the browsers.
Use windows.navigate on IE (its an IE only function). This should set the referer. edit; nvm, it won't send the referrer (just tested). Your only option is to create an anchor and "click" it with javascript. Google says: http://www.velocityreviews.com/forums/showpost.php?p=3656000&postcount=8