By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,730 Members | 1,620 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,730 IT Pros & Developers. It's quick & easy.

using referrer

P: n/a
I have a site http://www.example.com, and I want to link to an article on
another site http://www.example2.com, how would I use the site
http://www.example.com , as a referrer to the article on the second site
http://www.example2.com using javascript?
Oct 8 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
VK

Nospam wrote:
I have a site http://www.example.com, and I want to link to an article on
another site http://www.example2.com, how would I use the site
http://www.example.com , as a referrer to the article on the second site
http://www.example2.com using javascript?
REFERRER is a HTTP header (available for reading where not restricted
yet over document.referrer). JavaScript has nothing to do with it.

If you have a link located at server1 and leading to server2, on
navigation by this link the referrer header will be set to server1 w/o
your participation. The client browser can be set do not disclose
referrer to servers (a rather regular mesure to fight with browsing
history sniffing). In the latter case the things are out of your
control either.

Oct 8 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.