I have made a Rate this website page. The window is opened via a java-
script (see code below). In the new window I want to get the page the user
was looking at when the link was activated - via the HTTP_REFERRER.
My problem is that the HTTP_REFERRER doesnt work when opening the window
via the java-script.
Do you know WHY?
I have found this in another group
In your doGet or doPost method you get HttpServletRequest, call
String ref = req.getHeader("HTTP_REFERRER");
However, as I am a very beginner to ASP and know nothing about java-script
(besedes copy/paste) I still am lost ...
Please notice: I am programming ASP pages, where I have inserted the "open
small window" java-script. And the code must work in all > 4 browsers.
Can you help
CODE
----------------------
'This is a button opening a the "java script" window
popup_ratewebsite_text.asp
<input type="button" value="Testing Tips"
onClick="window.open
('popup_ratewebsite_text.asp','mywindow','width=300,height=200,left=200,top
=200,screenX=100,screenY=100')" name="button">
In the popup_ratewebsite_text.asp
Chrilles