i open a script that makes a persistent connection to a firebird.
i have 2 identical scripts
test1.pl and test2.pl running under mod_perl.
if i open the first script it works fine, makes the conect to the firebird and make it persistent.
but if i call the test2.pl, do not work...
Can't connect: Unsuccessful execution caused by an unavailable resource.
resuming, just the first script i call works, if i call test2.pl first the test1.pl will not work if i refresh.
the connection just work with the script that have created the connectio.
Any help ?????
Sounds like you are using a package global variable to hold the database handle. Try using lexical var and Apache::DBI for persistent database connections in mod_perl.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.