retrieve of the address of referrer

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hello.

what is the javascript code that will return the location of the referrer
page?
thanks.
 
Do you mean for example, the location of the web site that contained a link
that was clicked to open your web site and page??

That can't be done in an html page.
However, it is available in your server logs.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
Or does the OP mean the page that called the current page?

I had some discussion on this here and was informed that document.referrer
returns this info., although it doesn't always work (I think what I was told
that it only works when a page is called with a link, but not when called
with a script)
 
Back
Top