Re: Quick Question

[prev] [thread] [next] [Date index for 2004/09/30]

From: Peter Speltz
Subject: Re: Quick Question
Date: 17:49 on 30 Sep 2004
--- Tony Bowden <tony-cdbitalk@xxxxx.xxx> wrote:

> On Wed, Sep 29, 2004 at 01:19:10PM -0700, Peter
> Speltz wrote:
> > However, i'm worried that if Company one is using
> > CDBI::Customer and Company 2 comes in to use
> > CDBI::Customer and calls the db_Main function it
> will
> > cause Company 1 to use Company 2's database from
> that
> > point on.  
> 
> Unless you're doing something really bizarre each
> Apache request will be
> for only one Company, right? If so you can have
> something in an early
> stage of the request that sets something so that you
> database connection
> does the right thing. If you're really paranoid,
> have a later stage
> handler blow it away again.
> 
> Tony
> 

Cool. I love class DBI. Thanks.


=====
pjs


	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

Quick Question
Peter Speltz 20:19 on 29 Sep 2004

Re: Quick Question
Tony Bowden 23:04 on 29 Sep 2004

Re: Quick Question
Peter Speltz 17:49 on 30 Sep 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52