I want to call a procedure everytime a request starts and another proc
everytime a request ends.
Is this possible? If so how or where do I do that?
Thank you
--
Xavier Bourguignon
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <list...@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
The command you are seeking is ns_register_filter (see
http://aolserver.com/docs/devel/tcl/api/general.html#ns_register_filter).
Use either a preauth filter to call a procedure at the beginning of
the request and a trace filter to call one at the end of the request.
Michael
--
Xavier Bourguignon
Excellent, thank you, that was exactly what I was looking for. On 15/03/2008, Michael A. Cleverly <mic...@cleverly.com> wrote:On Sat, Mar 15, 2008 at 12:03 PM, Xavier Bourguignon <crouz...@gmail.com> wrote: > I want to call a procedure everytime a request starts and another proc > everytime a request ends. > Is this possible? If so how or where do I do that? The command you are seeking is ns_register_filter (see http://aolserver.com/docs/devel/tcl/api/general.html#ns_register_filter). Use either a preauth filter to call a procedure at the beginning of the request and a trace filter to call one at the end of the request. Michael -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <list...@listserv.aol.com> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
--
Xavier Bourguignon
I know this is 9 years old, but it should still be of some use in familiarising yourself with some of AOLserver's functionality. It certainly was for me and I think much of it is still true.
http://philip.greenspun.com/wtr/aolserver/introduction-1.html
best wishes
Brian