[Zope] Checking the state of a database connection

Daniel G. Rusch drusch@globalcrossing.com
Tue, 25 Jan 2000 17:12:11 -0600


Try this, where Database is the name of your database object
<dtml-if "Database.connected()">
Yes
<dtml-else>
No
</dtml-if>

DR