Re: "Dynamic" database handles?

[prev] [thread] [next] [Date index for 2005/01/23]

From: Perrin Harkins
Subject: Re: "Dynamic" database handles?
Date: 01:04 on 23 Jan 2005
Jason Gessner wrote:
> The way i had to fix this in a Mason application is to have my top  
> level autohandler explicitly re-initialize the connection (which is  
> cheap if you use Apache::DBI) based on an environment variable that was  
> set in my httpd.conf.

You could do that, or a custom db_Main that checks which virtual host 
you're in, or try Class::DBI::Factory.

- Perrin

(message missing)

"Dynamic" database handles?
Daniel Collis Puro 23:44 on 22 Jan 2005

Re: "Dynamic" database handles?
Matt S Trout 00:20 on 23 Jan 2005

Re: "Dynamic" database handles?
Daniel Collis Puro 00:39 on 23 Jan 2005

Re: "Dynamic" database handles?
Jason Gessner 00:47 on 23 Jan 2005

Re: "Dynamic" database handles?
Perrin Harkins 01:04 on 23 Jan 2005

Re: "Dynamic" database handles?
William McKee 16:03 on 24 Jan 2005

Re: "Dynamic" database handles?
Dana Hudes 16:17 on 24 Jan 2005

Re: "Dynamic" database handles?
jason 18:59 on 24 Jan 2005

Re: "Dynamic" database handles?
Michael Graham 19:01 on 24 Jan 2005

Re: "Dynamic" database handles?
Perrin Harkins 00:50 on 23 Jan 2005

Re: "Dynamic" database handles?
jason 19:24 on 24 Jan 2005

Re: "Dynamic" database handles?
Michael Graham 21:39 on 24 Jan 2005

Generated at 17:42 on 27 Jan 2005 by mariachi v0.52