- Create a public property, say oApp.lActivity - Create a timer that fire every 5 minutes - In the Timer event, check the status of the oApp.lActivity property: - .F.: Log out - .T.: Set it to .F. - In every control, set oApp.lActivity to .T. everytime the user type or click something (in the InteractiveChange(), Click(), etc.)HTH