Solved

Passing data to an ASP

Posted on 1998-08-06
1
151 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 100 total points
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now