Wrox Programmer Forums
|
ASP Forms As of Oct 5, 2005, this forum is now locked. Please use "Classic ASP beginner" at http://p2p.wrox.com/forum.asp?FORUM_ID=54 or "Classic ASP Professional" http://p2p.wrox.com/forum.asp?FORUM_ID=56 instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Forms section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 6th, 2003, 10:08 AM
Registered User
 
Join Date: Jun 2003
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Stock Quote

I am trying to get the value that is appened to the URL when i use GET to send the information from a form to another page to be processed. The value is going to be appended to another URL to look up information. Also how would i use the POST method in this situation. The form consists of one text box and a button that sends the value of the text box to another page to be processed.

Jon
 
Old June 6th, 2003, 11:16 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 158
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to NotNowJohn
Default

Hmm... If I understood...
You have to send the data in the form on your asp page to another page to process and display the results of processing to your page, i.e. call another page service in the background.
If I am in right, you can use MSXML2.ServerXMLHTTP component...

Dim objXMLHTTP
set objXMLHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP")
objXMLHTTP.Open "POST", url_to_post_data, false
objXMLHTTP.SetRequestHeader "Content-type", "application/x-www-form-urlencoded"
objXMLHTTP.Send
response_variable=objXMLHTTP.responseText

This code piece send the form field's values to url_to_post_data page, and in the response_variable is the result of processing.

HTH.

Reg,
NotNowJohn

...but the Soon is eclipsed by the Moon





Similar Threads
Thread Thread Starter Forum Replies Last Post
Stock feed hudeanee Excel VBA 1 July 24th, 2007 08:29 PM
stock management- closing stock and opening stock bright_mulenga Access 1 July 16th, 2007 07:11 AM
Available... Units in Stock j-parker BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 December 24th, 2006 07:27 PM
Stock Quote automation aragrigorian BOOK: Expert One-on-One Access Application Development 0 May 24th, 2005 04:52 PM
Stock Quote JonnyRPI Classic ASP Basics 1 June 3rd, 2003 09:43 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.