tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From QM <qm...@brandxdev.net>
Subject Re: 'referer' header contains Servlet path, not referrer
Date Thu, 09 Sep 2004 13:20:31 GMT
On Thu, Sep 09, 2004 at 03:16:19PM +0530, Keith Hankin wrote:
: I am trying to determine what JSP page sent me to my Servlet, so I use request.getHeader("referer").
Unfortunately, the String returned is the Servlet itself and not the actual referer. This
seems like a bug to me. Is there some way to get the actual referer?

The "referer" header isn't reliable.  Browsers may refuse to send it,
for privacy reasons.

What's your high-level goal?

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message