>
> as i see it, the "proper" fix is to either:
>
> 1. write a Lock::Postgres class that ends the transaction on
> release_all_locks (or release_{read,write}_locks)
>
> 2. reimplement HTML::Embperl::Session to create and destroy
> Apache::Session objects, rather than reusing them. (this is how
> Apache::Session is expecting to be used)
>
> 3. add some sort of cleanup() function to Apache::Session::Store
> classes, and use this as HTML::Embperl::Session uses its.
>
>
> (2) is the only one which doesn't require changing Apache::Session, so
> it is probably the best choice (and should cleanup some of the hacks
> in HTML::Embperl::Session). gerald, feeling bored? ;)
>
I didn't like the idea of always recreate a session object, because it has
to be done for _every_ request not only the ones that uses sessions. Thats's
the reason, why I only create one session and keep it. Recreating everytime
would cost much too much performance.
The problem from my point of view is, that Apache::Session isn't really
maintaint. While Jeff has done a good work in creating Apache::Session, he
doesn't maintain it very well. I had send many patches and it has taken a
long time until, if at all, they got incoporated. So I started to create
HTML::Embperl::Session, which does what I need for Embperl. (also it copies
a lot of code form Apache::Session itself)
>
> i reused a Store::File hack to quickly do (3), by implementing close():
>
I don't know how to contiune best, but this, I think, should go into
Apache::Session. Using the hack is the short time solution, extenting
Apache::Session would be much better from my point of view.
Gerald
P.S. I am out of office for the next week, so I am not able to answer before
july, 8.
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]