Results 1 to 3 of 3

Thread: Can't extract variables [Resolved]

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2005
    Location
    Wollongong. NSW. Australia
    Posts
    470

    Resolved Can't extract variables [Resolved]

    http://mysite/default.asp?uid=Supremus&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 =
    Last edited by Supremus; Nov 27th, 2006 at 06:35 AM.
    My reputation is in tatters. Don't bother trying to repair it.

  2. #2
    Addicted Member
    Join Date
    Nov 2006
    Posts
    132

    Re: Can't extract variables

    Quote Originally Posted by Supremus
    http://mysite/default.asp?uid=Supremus&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 =
    These values are contained in the querystring variables.
    This is a collection of key/value pairs.
    xxx is in Request.Querystring("xxx")

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2005
    Location
    Wollongong. NSW. Australia
    Posts
    470

    Re: Can't extract variables

    Oh. I am starting to understand now. Thanks.
    Last edited by Supremus; Nov 27th, 2006 at 06:34 AM.
    My reputation is in tatters. Don't bother trying to repair it.

Posting Permissions

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



Click Here to Expand Forum to Full Width