Thread: DBI : Keep the db handle ($dbh) trough several cgi

DBI : Keep the db handle ($dbh) trough several cgi

From
"Righetti Livio"
Date:
Hi everybody,

I'm using Perl 5, DBI 1.06 and Postresql 6.4.2.

Is it possible de keep the db handle ($dbh) trough several cgi in order to :

  - avoid to connect at the beginning of each cgi
  - Begin a transaction in a cgi et finish it in another cgi

Thanks in advance

Livio