[Maypole] Direct access to DBI handle?

From: Toby Corkindale (maypole at wintrmute.net)
Date: Thu Dec 09 2004 - 15:51:52 GMT


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)

_______________________________________________ maypole mailing list maypole at lists.netthink.co.uk http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT