Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the following example, if the user provides no input for 15 minutes (900 seconds) it may be desirable to hide what's on the screen and force the re-entry of a user ID and password.

     Evtroutine Handling(#Sys_Appln.Idle) Seconds(#Seconds) 
* If no data entry for 15 minutes and not already timed out
If ((#Seconds = 900) *And (*Not #MyApplication.TimedOut))   
#MyApplication.ShowSignon
Endif
Endroutine

Being a stateful environment, this can be elegantly handled with an overlay to cover and restrict access to whatever the user is currently doing. As soon as a valid sign on is achieved, the overlay is removed and the application is exactly where it was before the session was ended.

...