Solved

Form post and ASP

Posted on 1998-06-03
2
183 Views
Last Modified: 2013-12-25
I have a form on a page and it submit text from an edit box with the post method. How to post to an asp page and how to retreive parameters in asp page?
0
Comment
Question by:fmichaud061597
2 Comments
 
LVL 4

Accepted Solution

by:
vvk earned 50 total points
ID: 1856973
You can use standard method "POST". In asp page to retrieve values use Request.Form("field name"), if send as parameter (pagename.asp?param_name=value) use Request.QueyValue("param_name")
0
 
LVL 28

Expert Comment

by:sybe
ID: 1856974
example:

page 1, this form is posted:

<form action="page2.asp" method=POST>
<input type-"text" name="myName">
<input type-"text" name="myAddress">
<input type-"submit" name="submitbutton" value="Press to submit">
</form>




page 2 (page2.asp), will display the test which was filled in the textfields of the form:
<%
Response.write Request.Form("myName") & "<br>"
Response.write Request.Form("myAddress") & "<br>"
%>


0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Do we need servers??? 5 196
get multiple images to align right 5 57
How to call weather service by using asmx? 4 29
How do I pull the base url for use in html links 7 22
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

776 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