[Zope] Checking the state of a database connection

Graham Chiu anon_emouse@hotmail.com
Wed, 26 Jan 2000 11:50:43 +1200


How does one check to see if a database connection is up and running?

What I want to do is check to see if the connector is connected.  If
not, redirect the browser to another page.

I tried a try/try but didn't seem to catch the exception.

Also, can you put a redirect command in the standard_html_header?  I
tried this and it was ignored.

-------
Regards,        Graham Chiu
gchiu<at>compkarori.co.nz
http://www.compkarori.com/dynamo - The Homebuilt Dynamo
http://www.compkarori.com/dbase - The dBase bulletin