Page Name with document.referrer

Results 1 to 2 of 2

Thread: Page Name with document.referrer

  1. #1
    Join Date
    Dec 1969

    Default Page Name with document.referrer

    I use document.referrer to get a page referrer, and it returns something like the following:<BR><BR><BR><BR>However, I need to use the Server.Transfer function, which will only work with "page.asp". Is there some alternative to document.referrer that returns "page.asp" or some string manipulation that takes the above url and just returns "page.asp"?

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default Easy

    Split the string on "/" and the last element of the resulting array will have page.asp

Posting Permissions

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