<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=windows-1250"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Joshua Burvill wrote:
<blockquote cite="mid539C44369@mri.com.au" type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Times New Roman";
        color:black;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<div class="Section1">
<p class="MsoNormal"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt; color: black;">Hi,<o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt; color: black;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt; color: black;">I’d like to log
certain parts of
each request into a database table for every request to provide an
audit trail.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt; color: black;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt; color: black;">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.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt; color: black;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt; color: black;">Can anyone offer
any suggestions?<o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt; color: black;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt; color: black;">Thanks, Josh</span></font><o:p></o:p></p>
</div>
<br>
</blockquote>
Dieter wrote this <br>
<br>
<a class="moz-txt-link-freetext" href="http://www.dieter.handshake.de/pyprojects/zope/emulateRedirect.py">http://www.dieter.handshake.de/pyprojects/zope/emulateRedirect.py</a><br>
<br>
Maybe that helps. <br>
</body>
</html>