I didn't really know where else to put this, but maybe this'll do.
Is thier any way to have HTTP_REFERER in a child window, refer to the
parent window? Here what I'm doing : I'm setting up a "Suggest this
page to a friend" thing, I've got the script all setup, it opens in a
window opened with javascript, and always shows the script as the
referer, not the page the window was opened from. Any Ideas?
HTTP_REFERER is a variable defined by the server. I have no idea how to falsify it, without just plain overriding it, which is what you want to do, so I'm willing to bet you'll have a hard time trying to do so. You may want to think of a different solution.
Originally posted by aspen HTTP_REFERER is a variable defined by the server. I have no idea how to falsify it, without just plain overriding it, which is what you want to do, so I'm willing to bet you'll have a hard time trying to do so. You may want to think of a different solution.
I gave up and took it out of the pop up window, it works fine now, thanks anyway.
why dont you put it in your querystring when popping up?
refer.php?url=mydomain.com/pictures/index.html
or better way is just cover it in a form
<form action=refer.php TARGET=_BLANK>
<INPUT TYPE=HIDDEN NAME=url VALUE="......">
<submit button here>
</form>
Bookmarks