Hi,

I use Dancer::Plugin::Database in my application. Each time when 
$dbh = DBI->connect( $c->{ dsn }, $c->{ username }, $c->{ password}, $c->{ dbi_params }) 
is called. does it return a new connection?


I would like one db connection for each user, where can I save the database handler?

I try to save in session, but it doesn't work. Is session can only save string, but not object?

Many thanks,
Dan