Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically keep a session from idling
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Programmatically keep a session from idling
Miscellaneous
Thread ID:
01284395
Message ID:
01284395
Views:
97
I have a terminal server in which the idle session timeout is set to 2 hours. I want it this way with one exception. I have one terminal that runs an automated process every 5 minutes. I do not want this to run on the console. It is a Fox Pro form with a timer and every 5 minutes it connects to a remote server and retrieves some information from another Sql Server. Currently a user has to move the mouse every so often to keep it from timing out. Is there a Fox Pro command, or some way within a FoxPro form to keep a terminal services session from going idle? I have tried the KEYBOARD command, and have also used ...

DECLARE integer SetCursorPos in WIN32API integer, integer
=SetCursorPos(600,400)
CLEAR DLLS

to move the mouse around and it still goes idle. Any ideas are greatly appreciated.
Next
Reply
Map
View

Click here to load this message in the networking platform