On 8/18/06, Jeremy Blain <[EMAIL PROTECTED]> wrote: > Jay Truesdale wrote: > > >So, it is considered 'good practice' or 'required practice' to do an > >untie at the end of a request? > > > >I can put this in a <%cleanup> section of the final compoent in the > >call tree, correct? > > > > > > > I would suggest doing it further up the chain than that. If you have > your own > ApacheHandler object, that may be the best place, being sure to catch > errors in > an eval block, and be sure it gets untied.
That's a bit over my head, I don't think I have my own. In httpd.conf I've got: <FilesMatch "(\.html|\.mas|\.css)$"> SetHandler perl-script PerlHandler HTML::Mason::ApacheHandler </FilesMatch> > > A <%cleanup> section may not be called in the case of an $m->abort, > $m->redirect, > or an error that stops execution, leaving you with a similar, but harder > to diagnose problem. Understood. Is there any way to attach to the end of the existing Mason Apachehandler? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users