Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 44650 invoked from network); 28 Jul 2004 09:58:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 28 Jul 2004 09:58:18 -0000 Received: (qmail 41399 invoked by uid 500); 28 Jul 2004 09:58:04 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 41328 invoked by uid 500); 28 Jul 2004 09:58:04 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list modperl@perl.apache.org Delivered-To: moderator for modperl@perl.apache.org Received: (qmail 59562 invoked by uid 99); 28 Jul 2004 04:35:21 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Message-ID: <03c801c4745c$57ce2f00$6400a8c0@chris2> From: "Chris Ochs" To: Subject: Using DBI and Apache::DBI together Date: Tue, 27 Jul 2004 21:35:42 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N We have our own application server built on mod perl and the template toolkit. Most of the application specific sql queries all run as a single user which is great for Apache::DBI. Every end user also has 3-4 tables they can query (using the template toolkit DBI plugin) using their own username, and for I do not want to use Apache::DBI because it results in too many cached connections. Other than hacking DBI.pm and adding our own disconnect function which won't be overriden by Apache::DBI, does anyone know of a better way to have both cached and non cached connections in the same apache/mod perl process? Chris -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html