I think in the current version of modperl there is an important feature
missing.
At this time is not possible to share resources between apache childs and so
we can not use "really" persistent DBI coneection.
What I intend is the possibility to store a DBI connection in the $Session
hash (Apache::ASP or Apache::Session).
In this way we can start a DB connection for each user session and we can
have different application upon differnet DB.
The connection is started when the user session start, is maintenied in
memory (in the apache main process ?),it is visible to the apache childs
(threads) and is destroied at session end.

With the efforts (syntax tree sharing between threads) necessary to port
modperl to apache 2, will be  possible to implement such a feature ?

Thanks
Francesco Pasqualini

Reply via email to