The request.getHeader("referer") return null even ...
843841Feb 8 2006 — edited Feb 8 2006I have the following code:
if(request.getHeader("referer").indexOf("myPage.htm") != -1)
...
I never had a problem with this line of code in my development Window box. After uploading the build in the product Linux box, I got a null value error from the line. Well, you know where the null value came from.
The weird part of this issus is that I didn't get the error on my Window box even when I type the url in the URL field of a browser. I don't understand why the same url is treated differently. The both Java web containor are TC 5.5.x .
Any idea?