Asynchronous cgi that returns nothing. Possible? O:-)

Fernando Rodríguez frr at easyjob.net
Tue Apr 23 16:45:12 EDT 2002


On Tue, 23 Apr 2002 11:38:37 -0700, Jeff Shannon <jeff at ccvcorp.com> wrote:

>In article <olvacuoe4oo1aa5gjj6sa4vsimdom3pabv at 4ax.com>, 
>frr at easyjob.net says...
>> 
>> Whenever a customer clicks on the order button, I'd like to:
>> 
>> a) Save some info into a database
>> b) Send the order to the payment processing company
>> 
>> I was planning to use a Python CGI for a. This cgi shouldn't return anything
>> and shouldn't change the contents of the browser. Is this possible? O:-)  
>
>So that the person making the order has no idea whether it 
>actually went through or not?  

No. Step (b) processes the order and does give feedback. Step (a) saves in a
db some info conatined in a cookie (date of first visit and first referrer). I
want step (a) to be seamless.





-----------------------
Fernando Rodriguez



More information about the Python-list mailing list