Have a question on ASP links...

Results 1 to 2 of 2

Thread: Have a question on ASP links...

  1. #1
    Join Date
    Dec 1969

    Default Have a question on ASP links...

    Ok, why do most ASP links have &#039;variables&#039; with them? Such as http://www.aspmessageboard.com/forum/asp.asp?M=208&P=2&F=20&V=0&N=Wes+Hysell<BR><BR>Cou ld someone explain to me how to make these kinds of links? I&#039;m most definately curious on how to. You see, i&#039;m making a site, it will categorize each component by category, for instance, let say i wanted to categorize a Radar/Scanner. The link i&#039;d want would be something like http://www.aspmessageboard.com/daacu/digiscan.asp?cat=radar . I want to do the same with Protection Ware.. so the link would be something like http://www.aspmessageboard.com/daacu/digiscan.asp?cat=shield . So, how do i get the server to tell these apart? Be sure to include any coding i may need for this process, please.

  2. #2
    Join Date
    Dec 1969

    Default RE: Have a question on ASP links...

    Well, this is just about as basic an ASP question as there is.<BR><BR>The variables are passed, as you have shown, in the URL. The page that is being called can then access the variables like this<BR><BR>cat = Request.QueryString("Cat")<BR><BR>the variable cat will now hold whatever value was in the url e.g. radar or shield in your examples.

Posting Permissions

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