Response.QueryString /myPage.asp?value=Two Words

Results 1 to 5 of 5

Thread: Response.QueryString /myPage.asp?value=Two Words

  1. #1
    Scopeout Guest

    Default Response.QueryString /myPage.asp?value=Two Words

    How can I pass two words, with a space between them, in a Response.QueryString?<BR><BR>When I try to do that I only get the first word.<BR>Request.QueryString("Two Words") only returns Two.<BR><BR>Any suggestions???

  2. #2
    Join Date
    Dec 1969

    Default RE: Response.QueryString /myPage.asp?value=Two Wor

    Hmm the value should pass over fine, putting either a + between the words or something like two%20words. Are their any single quotes involved? Bust the code.<BR><BR>Thank you come again!

  3. #3
    Scopeout Guest

    Default TheCode

    &#060;a href=ByCity.asp?City=""" & rst("City") & """ class=&#039;submenu&#039;&#062;<BR><BR>In the browser the link shows up as El Paso, but when you click the link, it only passes &#039;El

  4. #4
    Join Date
    Dec 1969

    Default RE: TheCode

    &#060;a href=ByCity.asp?City=&#039;" & Server.Urlencode(rst("City")) & "&#039; class=&#039;submenu&#039;&#062;<BR><BR>you should always urlencode querystrings when passing them if they contain anything other than letters or numbers, to include spaces.<BR><BR>mj<BR>

  5. #5
    Scopeout Guest

    Default 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