Computing.Net > Forums > Web Development > Referrer sending

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Referrer sending

Reply to Message Icon

Name: shahramsh
Date: January 7, 2005 at 20:41:12 Pacific
OS: P4
CPU/Ram: 3.2
Comment:

Hi
I am running IIS 5.1 as my webserver,
i have a page with some links in it,

but i don't want my site to be sent as the referrer to the target website when the links are clicked ,

is there anyway to do that since the referre is actually sent to next site by the browser of the person who clicks on the link?

i will appriciate ur help




Sponsored Link
Ads by Google

Response Number 1
Name: Khalid
Date: January 8, 2005 at 03:59:01 Pacific
Reply:

You should send the request headers yourself, and not use the clientbrowser to send them to the new server.
You need a server-sided scripting parser, like php or asp to do the trick.

With php you can use the header-function.
i.e.
----start php code
$header = "Location: "http://www.computing.net/\n";
$header = "Referer: http://www.hidden.com/\n";
header($header);
----end php code

More information about http-headers can be found here (section 14.36).

good luck.


0

Response Number 2
Name: shahramsh
Date: January 10, 2005 at 20:34:27 Pacific
Reply:

thanx,
i think that should work
i found a way to make the link's page to be accessed only through https, so no referrer will be sent by the browser,

but as soon as get time i will try to implement the header code into my PHP pages.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Referrer sending

sending multiple mails www.computing.net/answers/webdevel/sending-multiple-mails/2170.html

sending multiple mails www.computing.net/answers/webdevel/sending-multiple-mails/2162.html

404 error page query www.computing.net/answers/webdevel/404-error-page-query/2244.html