Re: [CDBI] Modperl setup

[prev] [thread] [next] [Date index for 2005/12/06]

From: =?ISO-8859-1?Q?Ask_Bj=F8rn_Hansen?=
Subject: Re: [CDBI] Modperl setup
Date: 04:07 on 06 Dec 2005
On Dec 5, 2005, at 7:25 PM, Kate Yoak wrote:

> I am experiencing the problem which seems to be related to value  
> caching.
> $foo->value, when changed, appears to go back to original on some page
> loads, obtaining the new value on others.  I can verify that the  
> value in
> the database is new.  If I restart apache, the new value is obtained.
[...]
> PerlCleanupHandler Class::DBI::clear_object_index appears to  
> resolve the
> problem completely.

You most likely have an accidental closure or in some other way you  
are holding a reference to the data somewhere.   If the reference  
count never goes to 0 it doesn't go out of the object cache  
automatically.

http://wiki.class-dbi.com/wiki/Common_problems - search for "After  
updating a record, the changes do not appear".

:-)

  - ask

        -- 
        http://askask.com/  - http://develooper.com/


_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

[CDBI] Modperl setup
Kate Yoak 03:25 on 06 Dec 2005

Re: [CDBI] Modperl setup
=?ISO-8859-1?Q?Ask_Bj=F8rn_Hansen?= 04:07 on 06 Dec 2005

RE: [CDBI] Modperl setup
Kate Yoak 21:41 on 06 Dec 2005

Re: [CDBI] Modperl setup
Matt S Trout 01:54 on 07 Dec 2005

Re: [CDBI] Modperl setup
Brad Bowman 09:11 on 07 Dec 2005

Generated at 19:11 on 22 Dec 2005 by mariachi v0.52