Fires after the user logs in.
Fires when the user tries to logout. Variables in the 'e' object include:
either .t. or .f. depending on whether the user was successfully logged out or not.
definition of the UX component
(optional) a dot variable used to set/create state variables.
State variables can be set in the onLogout event. State variables can be added to the e._state variable.
e._state.logoutTime = time("dd/MM/yyyy 0h:0m am", now())