How to execute code when requestor session ends
I have a requirement where I have to move all the user's worklist items to a workbasket when their session ends. This should happen whether they log off, the session times out, or any other termination event such as connection lost or the browser window closed.
I know we can specialize Code-Security.LogOff to cover when they log off but what about all the other events that end the session?