perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RobertCZ <>
Subject Re: object life
Date Mon, 27 Feb 2006 16:24:55 GMT
not very clear what exactly you are doing - you have two apache virtual 
servers both using Embperl::Object and they clash? you use 
Embperl_App_Name, right?

if I dont understand, would you mind showing us some simplified code?

- robert

Daniel wrote:
> Hi,
> I'm running two websites from the same apache session, and I have some
> issues with objects being live between the two sessions.
> I load an object with configs for one particular instance of my website,
> a certain DBH config.
> When I access my other instance of the website, it tries to use the
> instance from the first one, causing database errors.
> I have a lot of shared code between the two, but the difference in
> configs is what's hurting.
> Is it possible for me to destroy the objects so that apache doesn't
> reuse them?
> Why doesn't apache detect that I'm using a different instance?
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message