Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Sep 2002
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Retrieving web address of current page

    Hi all,
    Is it possible for me to retrieve the current webpage address using asp?
    For example, I'm on the page www.abc.com/product.asp?id=123
    How can I retrieve this adddress with asp?

    Thanks!

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Zwolle, The Netherlands
    Posts
    1,120
    Thanks
    2
    Thanked 31 Times in 31 Posts
    its a concatenation of the three servervariables:
    Request.ServerVariables("SERVER_NAME")
    Request.ServerVariables("SCRIPT_NAME")
    Request.ServerVariables("QUERY_STRING")
    I am the luckiest man in the world

  • #3
    New Coder
    Join Date
    Sep 2002
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    all right thanks!


  •  

    Posting Permissions

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