Dear List,

This may be a stupid question... but anyway... 

I am using mod_perl with persisent database connections enabled via Apache::DBI.

This works great, because most of the web site uses a "generic" user to connect to the 
database. However I do authentication via the database ( i.e : attempt a connection 
using supplied user/pwd and if so set a cookie and continue on using the generic 
user/pwd) , and these "once only" connections persist too. Thus after 100 folk have 
logged in there are 100 ( unused ) connections. I would like to have these 
authentication once only connection not persist.

Is there any way to "by default" use persistent connections but on occasions not ?

Thanks in advance for your help

Mark


Reply via email to