Well, you might set a range of variables, or perhaps set a variable with a range of values (such as a tozenized string) containing the information you wish to capture. Capture all that data in the on DISCONNECT event into [a] hash table entr[y|ies] that you can check for on EXIT. The data will then be available to your on EXIT code and still not interfere with your normal on DISCONNECT code.