finish-output
Purpose: Finishes the request output.
finish-output will flush out and conclude all of the request's output (see
output_statement). Any such output afterwards will silently fail to do so. As far as the client is concerned (or the user running a
command_line program), all the output from the request is complete.
This statement is useful when you need to continue work after the request's output is complete. For example, if the request is a long-running one, you can inform the client that the job has started, and then take any amount of time to actually complete the job, without worrying about client timeouts. The client can inquire about the job status via a different request, or be informed via email etc.
Examples
See also
Output (
finish-output flush-output output_statement p-dbl pf-out pf-url pf-web p-num p-out p-path p-url p-web )
SEE ALL (
documentation)