On Thu, 2004-02-05 at 08:12, Jean-Michel Hiver wrote:
> However I am not sure how to go about it... Maybe with a cleanup handler
> which would recompute the content and refresh the cache?

Bingo!

> Then I have another problem. What if another cleanup handler closed the
> database connection before my cleanup handler is executed?

Don't do that.  Why would you close the connection?

> If I do register a cleanup handler, how can I make sure that it will be
> the first cleanup handler to be executed?

In my experience, you can't reliably control the order that they run
in.  If you need multiple things done in a certain order, have one
cleanup handler that does several things in the order you require.

- Perrin


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to