[Maypole] Direct access to DBI handle?
Toby Corkindale
maypole@wintrmute.net
Thu, 9 Dec 2004 15:51:52 +0000
Hi,
I'm sorry to bother you all with this, but I've had a fair try and finding it
myself with no luck so far.
I'm using M-Auth-UserSessionCookie, and I want to use
Apache::Session::Postgres with the existing database handle that Maypole will
have opened a little earlier in the ->setup() call.
A-S-Postgres requires one to pass the Handle => $dbh parameter, where $dbh is
the open DBI handle. How can I access that?
I've traced as far as that ->loader will contain the Class::DBI::Loader
object, which is related, but I don't know how to obtain the DBI handle from
it..
Thanks,
Toby
--
Turning and turning in the widening gyre/The falcon cannot hear the falconer;
Things fall apart, the centre cannot hold/Mere anarchy is loosed upon the world
(gpg --keyserver www.co.uk.pgp.net --recv-key 897E5FF3)