OnDetachProcess - cWebAppBasic
When process pooling is used, this event is sent first to the WebApp object and then to every WBO object
Type: Event
Syntax
Procedure OnDetachProcess
Description
When process pooling is used, the OnDetachProcess event is sent first to the WebApp object and then to every WBO object. By default it does nothing but it can be used to perform any de-initialization for the process that is being detached. Use this to reset any properties that you do not want shared by all users. It does nothing by default and is for augmentation.
Note that the detach process automatically clears all DDOs in all WBos and clears all open tables (in case there are files that are opened that are not used by DDOs). This is done for security reasons to make sure that the next person attaching to the process does not have access to the records used by the previous user.