Creating POST data for Server.Transfer()?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I want to programmatically create some POST data on a web server, then pass
that data to another web page that the server calls, using
Server.Transfer(). What's the best way to do that?

I'm programming some buttons that link to PayPal's shopping cart. The
shopping cart needs a bunch of data about the item being added, including
price. PayPal's sample markup puts the data in a hidden form, which the
button submits.

I'm concerned about the lack of security in that approach, so I want to have
the button invoke a method on the server that will assemble the POST data
that PayPal needs, and then redirect to PayPal. Right now I have a 'button
dispatch' page, which contains the data assembly and redirect
(Server.Transfer()) code in its Page_Load event.

What I can't figure out is how to get the POST data into the Request the
page will submit when it redirects to PayPal. What's the simplest way to do
this? Are there any examples? Thanks much.

David Veeneman
Foresight Systems





.



Relevant Pages

  • Please consider.
    ... programming of MS SQL server 2005, configuration of routers (NAT, ... Managed and supported databases MS SQL server 2005, ... Created web sites navigation structure and contents. ...
    (rec.photo.digital)
  • Please correct my English.
    ... programming of MS SQL server 2005, configuration of routers (NAT, ... Managed and supported databases MS SQL server 2005, ... Created web sites navigation structure and contents. ...
    (alt.usage.english)
  • Re: write with cURL
    ... execute permissions. ... This is assuming that the PHP script runs ... of potential security risks from other users on the same server. ... web server itself is part of the group. ...
    (alt.php)
  • Project completed. Many thanks.
    ... in programming a Atmel at89c2051. ... message and thread have gone from my news server. ... Essex keyless keypad 3x4 matrix with a XY matrix ... It then scans ports 0.4, 0.5, and 0.6 for data changes from the pull up ...
    (comp.arch.embedded)
  • Re: Is there any hope for Microsoft ?
    ... Do I wish for a better Java Script IDE? ... no one is going to do Server Side Java programming or any other type of Server Side programming using Drag and Drop. ... To be sure, there are some in the company who use Visual Studio, but there are more who are not using Visual Studio than are. ...
    (borland.public.delphi.non-technical)