Cholt
Aug 22nd 2006, 5:43 am
I have a web application that is testing the referrer HTTP header to perform some logic.
I need to test this logic outside of the environment where this application is going to be used so I wrote a simple web page that has javascript that redirects the user to the web application hoping that the referrer header would be set.
However, I have found that it is not set and I have tried a number of the methods of redirecting to try to get it to be set. Is there a way to redirect using javascript such that the website being called will have the referrer header set?
Thanks,
Chris
I need to test this logic outside of the environment where this application is going to be used so I wrote a simple web page that has javascript that redirects the user to the web application hoping that the referrer header would be set.
However, I have found that it is not set and I have tried a number of the methods of redirecting to try to get it to be set. Is there a way to redirect using javascript such that the website being called will have the referrer header set?
Thanks,
Chris