[Zope-dev] Re: [Zope] post-publishing hook

2002-11-29 Thread Tino Wildenhain
Hi Carlo,


--On Freitag, 29. November 2002 13:07 +0100 Carlo Giomini 
[EMAIL PROTECTED] 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?


May be. But what are you trying to do? Perhaps there is a better
solution available if we know the whole picture.

Regards
Tino

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: [Zope] post-publishing hook

2002-11-29 Thread Toby Dickenson
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



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )