Joshua Burvill wrote:

Hi,

 

I’d like to log certain parts of each request into a database table for every request to provide an audit trail.

 

I thought of inserting a <dtml-call  xxx> into the standard_html_header, but when there is a RESPONSE.redirect, it will not be the original request that gets logged.

 

Can anyone offer any suggestions?

 

Thanks, Josh


Dieter wrote this

http://www.dieter.handshake.de/pyprojects/zope/emulateRedirect.py

Maybe that helps.