On Tue, 6 Feb 2001, darren chamberlain wrote:

> Vivek Khera ([EMAIL PROTECTED]) said something to this effect on 02/06/2001:
> > However, at the end of the template processing, the object is not
> > destroyed; that is, the DESTROY() method is never called, and
> > therefore the tied hash never gets untied and  Apache::Session::MySQL
> > doesn't get a chance to write the data back to the store.
> 
> You aren't clear about the scope of $tt; it sounds like a package
> level global, if it's being destroyed when the children exit.
> 
> How about creating a PerlCleanupHandler to explicit destroy $tt?

No, don't do that.  You need $tt to stick around, so that you can get the
large speed increase from using the in-memory cache.

- Perrin

Reply via email to