Results 1 to 2 of 2

Thread: history.back

  1. #1
    Join Date
    Dec 1969

    Default history.back

    Can I obtain the url of the history.back function? I want to see the URL of the previous page that the user came from. Is history.back the best solution?

  2. #2
    Join Date
    Dec 1969

    Default RE: history.back

    due to security restrictions, you cannot directly read the URLs in the history array<BR><BR>you can however get the http_referer property in serveral ways. in ASP, server-side, use<BR><BR>Request.ServerVariables("http_referer") <BR><BR>i believe client side, it&#039s document.referer - but i don&#039t have my javascript book to hand to double check<BR><BR>jason

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts