I have a popup window working great with javascript window.open(). In the popup, I want to know where the user came from via the HTTP_REFERER header. It seems that Netscape 4 and 7 will send the header, but unfortunately IE 6 won't.
I've tried both
and
Both methods will send the HTTP_REFERER in NN7. The second method won't do anything in NN4 (when I tried it). Both methods send an empty HTTP_REFERER with IE 6.
This is either a bug or a "feature" of IE, so I want to know if there is a way to force sending the header. I could put this in a function with the window.open and they would be called together.
Any ideas?
I've tried both
Code:
<a href="javascript: window.open('...
Code:
<img onclick="window.open('...
Both methods will send the HTTP_REFERER in NN7. The second method won't do anything in NN4 (when I tried it). Both methods send an empty HTTP_REFERER with IE 6.
This is either a bug or a "feature" of IE, so I want to know if there is a way to force sending the header. I could put this in a function with the window.open and they would be called together.
Any ideas?