in reply to Passing database handles

Are you running under mod_perl?

Replies are listed 'Best First'.
Re: Re: Passing database handles
by hakkr (Chaplain) on Dec 06, 2001 at 14:22 UTC
    no mod_perl just CGI with dbi 1.2
      Okay. I just asked because Apache::DBI intentionally disables the disconnect method. Under CGI, you should definitely see your db handles go away because the CGI processes will go away after serving a request.