Getting the entire URL

Results 1 to 2 of 2

Thread: Getting the entire URL

  1. #1
    TekTronix Guest

    Default Getting the entire URL

    This may be a dumb question, but it&#039s one of these things you can&#039t find anywhere: "How do i get the entire URL as user entered with ASP?",i&#039ve tried getting it with the server-variables, but these do not include (for some strange-reason) any variables passed along in the string.<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Getting the entire URL

    if len(Request.ServerVariables("Query_String")) &#062; 0 then<BR> Response.Write(Request.ServerVariables("Server_Nam e") & Request.ServerVariables("URL") & "?" & Request.ServerVariables("query_string"))<BR>Else<B R> Response.Write(Request.ServerVariables("Server_Nam e") & Request.ServerVariables("URL"))<BR>End If<BR>Hope this helps... Cheers!

Posting Permissions

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