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.)
In reply to Re: Tomcat, CGI scripts and DBI connection persistence
by keszler
in thread Tomcat, CGI scripts and DBI connection persistence
by spx2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |