in reply to Using CGI:App and Session plugin - double DB connection fix.
If the problem is that you have a number of pages that don't require sessions (or any db access), and a number that do, then simply put the two groups into different CGI scripts, with different setups - one which creates the db handle, the other which doesn't.
If the problem is that db connection is too expensive, check out Apache::DBI with mod_perl, or you could write your own connection concentrator daemon using DBI::Proxy.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using CGI:App and Session plugin - double DB connection fix.
by techcode (Hermit) on Sep 15, 2005 at 07:41 UTC |