On 6/22/05, Curtis Hawthorne <[EMAIL PROTECTED]> wrote: > So, I'm guessing what's happening is that the database handle inside of > CAP::DBH is getting DESTROYed before the session object. Is there any > good way to get around this?
That should only happen if you explicitly close the database handle. CAP::Session will keep a reference to the database handle, so the database handle will not be destroyed until after CAP::Session is finished with it. Another possibility is that your session never goes out of scope, hence it is never automatically flushed. This can happen under mod_perl if you keep the session in a global variable, or trap it in a closure. Cheers, Cees --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[email protected]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
