Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Passing data to an ASP

Posted on 1998-08-06
1
Medium Priority
?
160 Views
Last Modified: 2013-12-25
I have a simple asp which selects data based on a form, from my access data base. How do I pass this selected data to a second asp page in order to display the selected records.

Any advise will be appreciated.
0
Comment
Question by:hurst
1 Comment
 
LVL 10

Accepted Solution

by:
MasseyM earned 200 total points
ID: 1858852
I will assume that the "data" is in a <FORM> field... On the second page, you can use two separate methods:
1) if your METHOD on the FORM was GET, use "Request.QueryString(Name_of_Form_Item)"
2) if you used POST, "request.Form("Name_Of_Form_Item)"

So, something like:
<% UserName=request.querystring("username") %>
or
<% UserName=request.Form("username") %>

That will do it....
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

916 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