[cgiapp] Combining DBIx::Simple and CGI::Session

Ron Savage ron at savage.net.au
Tue Sep 30 22:33:46 EDT 2008


Hi Folks

The docs for DBIx::Simple cleary warn about using the dbh() method to
get the db handle for use outside DBIx::Simple.

And yet, with CGI::Session, if I pass in a handle (returned from
DBIx::Simple or otherwise), I know CGI::Session will be doing queries
whenever it feels like it.

So, what to people do?

Use 2 handles, 1 via DBIx::Simple for all normal queries, and 1 via DBI
just for use with CGI::Session?

-- 
Ron Savage
ron at savage.net.au
http://savage.net.au/index.html




More information about the cgiapp mailing list