re-connect to a database

Alberto Vera avera at coes.org.pe
Wed Oct 29 12:02:45 EST 2003


Hello:

I can connect to a database using ADO. I use this:
if (self.conn.State != ADO.adStateOpen):
            self.__connectDB()

In case I lost the connection, but I have a problem: 

When I unplug the wire (network) and  I plug it one minute later, I can't send data to my database.

Do you Know How I can re-connect in this case?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20031029/4e8503ca/attachment.html>


More information about the Python-list mailing list