> I am having a problem where a call to request.getHeader("HTTP_REFERER")
> is returning null;
[quoted text clipped - 13 lines]
> regards
> Koshyh
You can get the referrer via
request.getHeader("referer")
However you should note that it isnt a mandatory field and usually only
available if the client sends it at all respectively if the request
originates from a link. Direct requests do not contain a referrer.
Alexander
Moiristo - 19 Jul 2006 19:58 GMT
>> I am having a problem where a call to request.getHeader("HTTP_REFERER")
>> is returning null;
[quoted text clipped - 21 lines]
> available if the client sends it at all respectively if the request
> originates from a link. Direct requests do not contain a referrer.
Besides, most firewalls automatically remove the referer header. It is
better to find a workaround, like using sessions or something.