How to pass HTTP_REFERER using javascript ?

Discussion in 'JavaScript' started by vic_msn, Dec 19, 2008.

  1. #1
    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.
     
    vic_msn, Dec 19, 2008 IP
  2. MMJ

    MMJ Guest

    Messages:
    460
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    MMJ, Dec 20, 2008 IP