sign in | join about | help | sitemap
Connecting Tech Pros Worldwide
Chris Cairns's Avatar

Collect string from HTTP Form POST


Question posted by: Chris Cairns (Guest) on July 19th, 2005 06:35 AM
I have a basic form that POSTs data to a web server. The web server then
replys with a string response.

It goes something like this

<FORM METHOD=POST ACTION="https://www.mywebserver.com/trans.dll">
<INPUT TYPE=HIDDEN NAME="x_Field1" VALUE="1">
<INPUT TYPE=HIDDEN NAME="x_Field2" VALUE="True">
<INPUT TYPE=HIDDEN NAME="x_Login" VALUE="MyUser">
<INPUT TYPE=SUBMIT VALUE="Click here To Submit">
</FORM>

The response is just a comma separated values string like:
1,0,2,3,0,Transaction Success,Etc

Once I hit the submit button the server returns a string response. I do not
want the user to ever see the response, but need the response string to
create my own page.

How do I retreive that string and use it??


2 Answers Posted
Mark Schupp's Avatar
Guest - n/a Posts
#2: Re: Collect string from HTTP Form POST

http://www.aspfaq.com/show.asp?id=2173

--
Mark Schupp
--
Head of Development
Integrity eLearning
Online Learning Solutions Provider
Join Bytes!
http://www.ielearning.com
714.637.9480 x17


"Chris Cairns" <ccairns@hampton-hampton.com> wrote in message
news:ewZDZhxRDHA.2020@TK2MSFTNGP11.phx.gbl...[color=blue]
> I have a basic form that POSTs data to a web server. The web server then
> replys with a string response.
>
> It goes something like this
>
> <FORM METHOD=POST ACTION="https://www.mywebserver.com/trans.dll">
> <INPUT TYPE=HIDDEN NAME="x_Field1" VALUE="1">
> <INPUT TYPE=HIDDEN NAME="x_Field2" VALUE="True">
> <INPUT TYPE=HIDDEN NAME="x_Login" VALUE="MyUser">
> <INPUT TYPE=SUBMIT VALUE="Click here To Submit">
> </FORM>
>
> The response is just a comma separated values string like:
> 1,0,2,3,0,Transaction Success,Etc
>
> Once I hit the submit button the server returns a string response. I do[/color]
not[color=blue]
> want the user to ever see the response, but need the response string to
> create my own page.
>
> How do I retreive that string and use it??
>
>[/color]


Aaron Bertrand - MVP's Avatar
Aaron Bertrand - MVP July 19th, 2005 06:35 AM
Guest - n/a Posts
#3: Re: Collect string from HTTP Form POST

www.aspfaq.com/2173



"Chris Cairns" <ccairns@hampton-hampton.com> wrote in message
news:ewZDZhxRDHA.2020@TK2MSFTNGP11.phx.gbl...[color=blue]
> I have a basic form that POSTs data to a web server. The web server then
> replys with a string response.
>
> It goes something like this
>
> <FORM METHOD=POST ACTION="https://www.mywebserver.com/trans.dll">
> <INPUT TYPE=HIDDEN NAME="x_Field1" VALUE="1">
> <INPUT TYPE=HIDDEN NAME="x_Field2" VALUE="True">
> <INPUT TYPE=HIDDEN NAME="x_Login" VALUE="MyUser">
> <INPUT TYPE=SUBMIT VALUE="Click here To Submit">
> </FORM>
>
> The response is just a comma separated values string like:
> 1,0,2,3,0,Transaction Success,Etc
>
> Once I hit the submit button the server returns a string response. I do[/color]
not[color=blue]
> want the user to ever see the response, but need the response string to
> create my own page.
>
> How do I retreive that string and use it??
>
>[/color]


 
Not the answer you were looking for? Post your question . . .
197,028 members ready to help you find a solution.
Join Bytes.com

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 197,028 network members.
Post your question now . . .
It's fast and it's free

Popular Articles

Top Community Contributors