[Maypole] Direct access to DBI handle?
Jesse Sheidlower
jester@panix.com
Thu, 9 Dec 2004 11:02:32 -0500
On Thu, Dec 09, 2004 at 03:51:52PM +0000, Toby Corkindale wrote:
> 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..
MyApp::MyClass->db_Main()
Best
Jesse Sheidlower