Re: Quick Question
[prev]
[thread]
[next]
[Date index for 2004/09/30]
--- 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