Solved

Parameter value in aps/frontpage page

Posted on 2004-04-14
2
206 Views
Last Modified: 2013-12-24
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
Comment
Question by:Totosh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
rcmb earned 125 total points
ID: 10822616
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
 

Author Comment

by:Totosh
ID: 10822893
RCMB - thanks for the quick answer.
Works...  (since I'm new at web-dev-stuff....)

Cheers,
Toto.
0

Featured Post

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question