Does anyone know how to get the session id when it has timed out? I have the requirement to log when people log in and out of apex and i can get the sesssion id when the log in, but if they dont explicitly log out and just close the browser i would not have any record of the log out. Also when the idle timer expires i lose the session id for logging. Is there an APEX table/view that might be able to tell me when they expired?