Re: Make database handle persist in CGI/DBI application?
- From: tyler@xxxxxx (Tyler MacDonald)
- Date: Thu, 23 Feb 2006 09:17:13 -0800
Mary Anderson <mfanderson@xxxxxxxxxxx> wrote:
I have tried passing the handle in as a ref parameter, using $dbhRef = /*dbh
(maybe this one was done incorrectly) and tried passing a $dbhRef as a
value on a hidden textfield. None of these work. I tend to get
"not an array" when I try to do $$dbhref to dereference the handle.
Is there any way to make the handle persist?
Would I have this trouble if I used Mason?
Mary,
You need mod_perl;
http://perl.apache.org/
Check here first;
http://perl.apache.org/docs/2.0/user/coding/coding.html#C_ModPerl__Registry__Handlers_Family
Cheers,
Tyler
.
- References:
- Make database handle persist in CGI/DBI application?
- From: Mary Anderson
- Make database handle persist in CGI/DBI application?
- Prev by Date: Make database handle persist in CGI/DBI application?
- Next by Date: Re: Make database handle persist in CGI/DBI application?
- Previous by thread: Make database handle persist in CGI/DBI application?
- Next by thread: Re: Make database handle persist in CGI/DBI application?
- Index(es):