Hello -

Perhaps my knowledge of this is poor or antequated, but here's what I'd like to happen 
and the problem I'm running into.

I'd like to be able to write a function which upon its run terminates all processing 
of a connection request. This is useful for writing libraries of code where returning 
an error to the client simply terminates any further processing.

If the conn is processing a TCL page in the pageroot, ns_tcl_abort works fine. It 
throws a special error that modules/tcl/file.tcl catches and ignores.

If the conn is processing an ADP page, ns_adp_break works fine; it terminates 
processing all the way up the call stack through some voodoo magic.

If the conn is processing a filter, there's really not a simple way to do this.

But more than that, there doesn't seem to be a way for this function to recognize at 
what stage of processing the conn is in. The "ns_server active" command looked 
promising, but it doesn't really help.

Is there a simple way to simply terminate all processing of the conn all the way up 
the call stack without flooding my server logs with error messages?

-jag


--
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