p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_codeclinic thread: HTTP POST to a page without using a form


Message #1 by julian@f... on Wed, 5 Dec 2001 02:50:01
Microsoft XML Parser

http://www.aspalliance.com/nothingmn/Default.asp?aid=70

see the getPage() method.

just modify to do a POST, and not a GET

/rob


At 02:50 AM 12/5/2001 +0000, you wrote:
>Hi All,
>
>I am currently integrating a payment gateway into a new site I am working
>on and need to send data to the secure server via a POST method.
>
>I have created the page to send the data. This works in sending the data
>in a querystring, but I want to hide the fields sent from the client. Is
>there a way to create an HTTP POST header without using a form. Basically
>to get the effect of a submitting form by using an ASP page.
>
>I could use an ASP page to generate a form in HTML and use JavaScript to
>submit the form with an onLoad action in the body tag, but that's just
>plain dirty in my view and creates a problem when the client wants to
>browse back or I can just use GET.
>
>Anyone have a clean solution for me???
>
>Thanks,
>Julian Fraser.
>
>$subst('Email.Unsub')


Robert Chartier
Author and Developer
xxx-xxx-xxxx
rob@a...
http://www.aspfree.com/devlinks
http://www.aspfree.com/authors/robert
http://www.aspalliance.com/nothingmn
http://www.15seconds.com/issue/wa.htm#chartier


  Return to Index