Do you know where your variables are? | |
PerlMonks |
Re: Tomcat, CGI scripts and DBI connection persistenceby keszler (Priest) |
on Oct 29, 2011 at 19:58 UTC ( [id://934641]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|