[mod_python] onunload ie mod_python

Nick nick at dd.revealed.net
Wed Oct 26 16:31:57 EDT 2005


See also http://developer.apple.com/internet/webcontent/xmlhttpreq.html 
for another solution (there are many resources for this information, but 
I like that one best).

SimpleXMLRPCServer is a standard module in Python, and I don't think 
it's as complex as you might think, but the above solution might yield 
quicker results for you.

Nick

WR - wrote:
> xmlrpc is to many work for only drop a mysql table!
> Reliable is not important for me!
> Only that the drop statement works.
> I use the serversript only by myself.
> Maby i have to make a link in my onunload of onclose (behaviors)?
> ..../modules/drop.py?table=testtable
> But I don't want to open a new ie window?
> 
>> From: Nick <nick at dd.revealed.net>
>> To: WR - <python_it at hotmail.com>
>> CC: mod_python at modpython.org
>> Subject: Re: [mod_python] onunload ie mod_python
>> Date: Wed, 26 Oct 2005 11:20:15 -0500
>>
>> I'm sorry, I typo'd that link... try http://jsolait.net/
>>
>> If you have mod_python, there are lots of toolkits that let you very 
>> easily set up an xmlrpc server.  The Python implementation of json-rpc 
>> is very similar.
>>
>> I never mentioned SOAP.  I don't know of any good JavaScript SOAP 
>> implementations, but the ZSI implementation in Python works with 
>> mod_python.
>>
>> Nick
>>
>> WR - wrote:
>>
>>> I use apache/mod_python/mysql!! not soap
>>> http://jsoliat.net ==> dead link
>>>
>>>> From: Nick <nick at dd.revealed.net>
>>>> To: WR - <python_it at hotmail.com>
>>>> CC: mod_python at modpython.org Subject: Re: [mod_python] onunload ie 
>>>> mod_python
>>>> Date: Wed, 26 Oct 2005 10:45:34 -0500
>>>>
>>>> xmlrpc/jsonrpc (http://jsoliat.net) to a python server.  Realizing 
>>>> that onunload/close is completely unreliable.
>>>>
>>>> Nick
>>>>
>>>> WR - wrote:
>>>>
>>>>> Is it possible to call a pythonscript with javascript behaviors 
>>>>> (onunload or onclose)?
>>>>>
>>>>> After unload/close the ie windows, I want to drop a mysql table?
>>>>>
>>>>> Suggestions please?
>>>>>
>>>>> _________________________________________________________________
>>>>> Typ je SMS sneller binnen MSN Messenger 
>>>>> http://www1.imagine-msn.com/Messenger/Expressions.aspx
>>>>>
>>>>> _______________________________________________
>>>>> Mod_python mailing list
>>>>> Mod_python at modpython.org
>>>>> http://mailman.modpython.org/mailman/listinfo/mod_python
>>>
>>>
>>>
>>> _________________________________________________________________
>>> Speel online games via MSN Messenger 
>>> http://www1.imagine-msn.com/Messenger/Default2.aspx
> 
> 
> _________________________________________________________________
> Krijg direct antwoord op je vragen: MSN Messenger 
> http://www1.imagine-msn.com/Messenger/Default2.aspx


More information about the Mod_python mailing list