Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Logging out a user after idle time has elapsed
Message
From
14/06/1999 14:39:08
 
 
To
14/06/1999 13:19:53
Noman Aftab
Embry-Riddle Aeronautical University
Daytona Beach, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00229547
Message ID:
00229608
Views:
28
>Isn't there a way we can achieve this on application's environment level. What if none of the forms are open while the application is running?

Attach a timer to a global object; the problem becomes what to use to catch keystrokes to reset the timer (there's no interactive change event of _SCREEN); I sup[pose you could use something likeREADKEY() and at timeout, if the content of READKEY() is the same as it was when it started, timeout, but I've never tried it...
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform