Hi. First time poster here. I am using DBI in a web application. The web application consists of several perl scripts. Once a user signs on, I would like to use that database handle in subsequent perl scripts. So the first script signs the user on with something like:

my($fulldsn) = 'DBI:Sybase:' . $ENV{'DBI_DSN'};
my $dbh = DBI->connect($fulldsn, "$username", "$password");


Then, the user can run various perl scripts that interact with the database. What is a good way to pass the database handle ("$dbh" in my example) to those scripts in a web application? Can anyone point me in the right direction? Thanks.






_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail

Reply via email to