On Wed, 23 Jun 2004, Paul Murphy wrote: > Presumably if making the DBI connection and all of the SQL prepare > statements are done in filter_initialize, and the database is closed > in filter_cleanup, then it should all work OK using DBI execute > statements in the main filter code?
Yes. I usually use wrapper functions that lazily create the connection. The first time the connection is needed, it's created and stored in a global variable. The next time, we just use the already-existing connection from the global variable. Regards, David. _______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang