hmm. Under Linux I issued a ns_write command from a procedure called by
ns_atclose and the output was appended to the previous ns_write output and
displayed in my browser.

The docs don't actually specify whether it should take place before or after
the connection close.

On Monday 07 January 2002 11:34 am, you wrote:
> On 2002.01.07, David Walker <[EMAIL PROTECTED]> wrote:
> > Perhaps ns_atclose might fulfill some of your needs.
> > Build a preauth filter with a "ns_atclose myproc" statement in it and
> > myproc will be executed after everything else just before connection
> > close.
>
> Registering a script with ns_atclose won't work.  ns_atclose's
> timing is similar to a trace filter - after the connection is
> closed.  ns_atclose doesn't require a connection, though --
> it seems like it gets called when the thread it's registered
> in gets cleaned up or something.
>
> I'm not 100% sure, but I did experiment with this.  The timing
> was too late.
>
> -- Dossy

Reply via email to