Link to home
Start Free TrialLog in
Avatar of bostonroxx
bostonroxx

asked on

GETTING THE REFERER URL

How do I get the referer URL in all cases in Javascript?  I need example code please.  I am trying the ASP
<%
response.write request.servervariables("http_referer")
%>

Does not work.  
Thanks.
ASKER CERTIFIED SOLUTION
Avatar of fritz_the_blank
fritz_the_blank
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Please note that if the page is accessed via code, the referrer returns no value!
BostonRoxx,

Were any of the comments above helpful? If so, please select one as an answer.

Fritz the Blank

PS, whereabouts in Boston?
Admin notified of User neglect. Force-accepted by
Netminder
CS Moderator
Thank you Netminder!

Fritz the Blank