[CDBI] Modperl setup
kate at longmedia.com
Tue Dec 6 03:25:33 GMT 2005
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.
I have reread the wiki modperl cdbi setup documentation and it does not
mention the problem.
I am running Apache 1.3.27
Modperl/Mason/CDBI. No caching. No sessioning.
PerlCleanupHandler Class::DBI::clear_object_index appears to resolve the
problem completely. I think that's probably good enough for me... But I am
curious to know if anyone else has encountered this behavior, how
multi-process environment is intended to work, what is the recommended setup
with respect to object cache for modperl?
More information about the ClassDBI