POST HTML Form to 2 seperate apps

Tim Lavoie tim.lavoie at mts.net
Thu Oct 26 10:48:04 EDT 2000


Ryan N. wrote:

>Hello All,
>Python Weenie here needs some insight on taking a form post and then
>re-posting the form contents to two other applications-one in ASP and the
>other a CGI.
>
>Any ideas / examples?

My only example is pretty messy, so I'm not sure I should post it.  :-)

Anyway, I used urllib to submit a form repeatedly for benchmarking, with the
form parameters in the form of a dictionary I loaded from a pickle file.

In any case, once you have the form parameters, then you can post them to
whatever URL you like. Use one URL for your ASP, and another for the CGI.
If you need to take the original input as a POST as well, then you'll need
to write your own Python CGI to get the data to repost.

-- 
ignorance, n.:
        When you don't know anything, and someone else finds out.



More information about the Python-list mailing list