[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

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.
0
Totosh
Asked:
Totosh
1 Solution
 
rcmbCommented:
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

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now