[thelist] Referer Headers

Ken Schaefer ken at adOpenStatic.com
Fri Jul 16 07:07:20 CDT 2004


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Richard Livsey" <Richard at livsey.org>
Subject: Re: [thelist] Referer Headers


: Jason Handby wrote:
:
: >I'm pretty sure you don't get a referer header if you
: >use a server-side redirect (e.g. Response.Redirect in
: >ASP), or if you use client-side javascript to navigate
: >to the page. I think browsers only send a referer
: >header when you click on a conventional link. I don't
: >know if there's a standard for this though.
: >
: To flip this thread on its head for a second, how do
: you *set* the referer header before you do a
: server-side redirect?
:
<snip>
:
: Any ideas if this is possible? A quick google didn't turn
: up anything of use that I could see.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The referer header is sent by the client to the server, not by the server to
the client. Which is why what you were trying to do doesn't work.

HTH

Cheers
Ken



More information about the thelist mailing list