[Zope] post-publishing hook

Toby Dickenson tdickenson@geminidataloggers.com
Fri, 29 Nov 2002 12:31:27 +0000


On Friday 29 November 2002 12:07 pm, Carlo Giomini wrote:
> Dear all,
> I need a sort of post-publishing hook (so to say). I need Zope to call =
a
> function of mine as the very last action of publishing a request, i.e.
> after having built the response (and sent it to the browser possibly), =
but
> before starting publishing a new request. My Zope server is running as =
a
> single-threaded app.
> Does Zope support this any way?

Yes, but its nasty. Look at ZPublisher.BaseRequest._hold