Fred Cox said:
> Is there any good explanation about the usage of
> traces vs. filters vs. who knows what other hooks, and
Sorry, did I say trace? I meant filter, trace is just a type of filter.
They are very usefull for loads of things, use your imagination. :) This
page is quite good:

http://www.aolserver.com/docs/devel/c/api/c-ch293.htm#368833

As an example, I just wrote a session module in C this weekend, and am
using a POST_AUTH filter to "touch" the session (reset the timeout) even
when requesting a static file. Normaly this would only happen if you
actualy use the session using (Tcl) commands.

They are also a good place for you to check for your token and do your own
auth, sending back an access denied page and calling NS_FILTER_BREAK so
all processing stops there and then.

Cheers,
Bas.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to