Ns atclose

From AOLserver Wiki
Revision as of 19:32, 7 February 2009 by Gustafn (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Man page: http://aolserver.com/docs/tcl/ns_atclose.html


NAME

ns_atclose - Queue a script to run after the current connection is closed

SYNOPSIS

ns_atclose script ?arg?

DESCRIPTION

This command queues a script to run after the current connection is closed. The script and optional arg are concatenated together and added to the list of at-close callbacks. The scripts are executed in the global scope in LIFO (last in, first out) order.

EXAMPLES

SEE ALSO

ns_atexit, ns_atshutdown, ns_atsignal


-