in reply to Tomcat, CGI scripts and DBI connection persistence
One option: write a standalone Perl program that runs as a daemon/service; that program maintains the database connection and answers requests from the cgi-bin/<scriptname>.pl programs. (Communication to the standalone program via socket, pipe, etc.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tomcat, CGI scripts and DBI connection persistence
by spx2 (Deacon) on Oct 30, 2011 at 11:06 UTC | |
by keszler (Priest) on Oct 30, 2011 at 13:15 UTC |