Getting full url

Results 1 to 2 of 2

Thread: Getting full url

  1. #1
    Join Date
    Dec 1969

    Default Getting full url

    is it possible to use the following link:<BR><BR>And get the asp page, folder.asp, to get the variable after the &#039;/&#039; so I can process a statement according to the variable?

  2. #2
    Join Date
    Dec 1969

    Default RE: Getting full url

    WHat you&#039;re looking to do is called request.querystring. To assign querystring variables you should use the "?" for the first variable and "&" for every additional variable.<BR>like so:<BR> <BR>the value set to the variable "site" = yes<BR><BR>or <BR><BR>the value set for variable "somethingelse" =3<BR><BR>to collect them we set a variable and assign the value to them using the requset.querystring.<BR><BR>Dim site<BR>site=request.querystring("site")<BR><BR>th at will assign the value to the variable

Posting Permissions

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