Referrer is a field that should not be counted upon for critical
logic.  It is returned only if the client wishes to, and may not be
correct.  It is informational only.

Maria Tan wrote:

>Hi:
>
>In my first servlet,I use the
>document.location="SecondServlet" for URL Rewriting,
>
>In my second servlet, i use getHeader("Referer") to
>get the referer. It works well in Netscape, but in IE,
>it always returns null.
>
>String ref = (String)request.getHeader("Referer");
>(ref returns null in IE, return URL in Netscape).
>
>Any suggestion?
>
>Thanks
>
>Maria
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Health - Feel better, live better
>http://health.yahoo.com
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to