• Ricardo Pozza

    Ricardo Pozza - 2003-11-27

    i open a script that makes a persistent connection to a firebird.

    i have 2 identical scripts and 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, do not work...

    Can't connect: Unsuccessful execution caused by an unavailable resource.
    -unavailable database

    resuming, just the first script i call works, if i call first the will not work if i refresh.

    the connection just work with the script that have created the connectio.

    Any help ?????

    • Edwin Pratomo

      Edwin Pratomo - 2003-12-08

      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.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks