Solved

Form post and ASP

Posted on 1998-06-03
2
181 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Uploading files to the web server has become common part of almost any kind of web application. People use different technologies to solve this, but regardless of the technology used, it is always useful to have some kind of progress indicator shown…
Read about why website design really matters in today's demanding market.
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.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

705 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

20 Experts available now in Live!

Get 1:1 Help Now