Parameter value in aps/frontpage page

This is most probably a very dumb question:

I have a webpage with address:
http://server/directory/detail.asp?DL=767

This page is called by a previous page hyperlink and the DL is a generated in this previous page.

My question: how can I use the value of DL (767) in the detail.asp page, put it in a variable so I can do some stuff with it (in VB).

Thanks,
Toto.
TotoshAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
rcmbConnect With a Mentor Commented:
To store the variable just do the following:

In the detail.asp page place the following at the top of the page (in html view):

<% var1 = request.querystring("DL") %>

Now you have the value stored in var1 and you can use it as you please.

RCMB
0
 
TotoshAuthor Commented:
RCMB - thanks for the quick answer.
Works...  (since I'm new at web-dev-stuff....)

Cheers,
Toto.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.