new function: ad_unless_script_abort and bump version to 5.10.1b12
This convenience function eases handling of ad_script_abort exceptions
in cases, where the OpenACS request processor is not involved.
From the documentation:
Execute the provided body in the callers' environment. When the
body does not raise an "ad_script_abort" exception, the
"non_abort_action" is also executed. This pattern is useful when
handling client requests and where the "non_abort_action" is used
to return results to the client. When "ad_script_abort" is
executed, the connection is usually closed, and any attempt to
talk to the client over the closed connection will fail.
The handling of script_abort exceptions is done usually in the
request processor. The function is useful when registering own
request procs (e.g., via "ns_register_proc") where the OpenACS
request processor is not involved.
bumped version to 5.10.1b12