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

x
?
Solved

Form post and ASP

Posted on 1998-06-03
2
Medium Priority
?
189 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 200 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses

926 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