Class::Data::Inheritable and persistence.

[prev] [thread] [next] [Date index for 2004/07/07]

From: Vince Veselosky
Subject: Class::Data::Inheritable and persistence.
Date: 21:56 on 07 Jul 2004
Hi all,

I was just poking around in an application I am building when I tripped 
over something interesting. Class::Data::Inheritable, when used under 
mod_perl, preserves the stored class data across multiple requests (but 
inconsistently if using a forking Apache, as each child gets its own 
copy). This had some scary repercussions for my app, and I wondered if 
any of Class::DBI's innards might be adversely effected by this?

I did a quick grep through the code ( but I am still using 0.95 ) and 
found a few properties that appear to store objects (__grouper?). If any 
class properties get manipulated during the course of a request through 
mod_perl, subsequent requests might get the value set in the previous 
request instead of the default. (Would the live object cache in 0.96 be 
effected at all?)

I was just curious to know if anyone had examined how this might effect 
CDBI apps under mod_perl, or had experienced any problems with it.

-Vince Veselosky
 >http://control-escape.com<;


(message missing)

Class::Data::Inheritable and persistence.
Vince Veselosky 21:56 on 07 Jul 2004

Re: Class::Data::Inheritable and persistence.
Tony Bowden 22:03 on 07 Jul 2004

Re: Class::Data::Inheritable and persistence.
Vince Veselosky 22:59 on 07 Jul 2004

Re: Class::Data::Inheritable and persistence.
Tony Bowden 08:44 on 08 Jul 2004

Re: Class::Data::Inheritable and persistence.
Vince Veselosky 10:51 on 08 Jul 2004

Re: Class::Data::Inheritable and persistence.
Michael G Schwern 20:13 on 08 Jul 2004

Re: Class::Data::Inheritable and persistence.
Tony Bowden 23:13 on 08 Jul 2004

Re: Class::Data::Inheritable and persistence.
Michael G Schwern 00:45 on 09 Jul 2004

Re: Class::Data::Inheritable and persistence.
Perrin Harkins 03:51 on 09 Jul 2004

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