Can't extract variables

Discussion in 'C#' started by Supremus, Nov 26, 2006.

  1. #1
    http://mysite/default.asp?uid=Supremus&pwd=651HhX&xxx=999&yyy=999

    When I click on the above link, the program goes to the right page, but how do I extract the variables xxx and yyy (they are dimmed elsewhere)??

    If I try to display them with
    xxx = <%xxx%><br>
    xxx = <%=xxx%><br>

    I get

    xxx =
    xxx =
     
    Supremus, Nov 26, 2006 IP
  2. shaileshk

    shaileshk Well-Known Member

    Messages:
    455
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #2
    mysite/default.asp?uid=Supremus&pwd=651HhX&xxx=999&yyy=999

    
    <%
    xxx=request("xxx")
    yyy=request("yyy")
    
    response.write("xxx=")
    response.write(xxx)
    response.write("<br>")
    response.write("yyy=")
    response.write(yyy)
    response.write("<br>")
    %>
    
    Code (markup):
    i thins this is help for you
     
    shaileshk, Nov 27, 2006 IP