This is documentation for an earlier version of webMathematica.
View current User Guide (Version 3.3)

KernelReleaseCode


Mathematica code to run when a kernel is released
  • KernelReleaseCode is a configuration setting giving Mathematica code that runs when a kernel is released by the server at the end of a computation. Note that this code is not run if the kernel is shut down due to an exception, such as a timeout or a memory limit.
A sample setting is shown below.
A sample setting is shown below.
<KernelReleaseCode>
MyApplication`TeardownPage[]
</KernelReleaseCode>