MilburnDrysdale
asked on
Way to log out users automatically if inactive for set period of time
Hello. Looking for a way to automatically log out users out of an Access db who are inactive after a certain amount of time (say 10 minutes), or if that is not possible, after a set period of time regardless of activity. We are running Win 2000 server and most users are on thin client terminals running XP, but some are on pc 's & laptops with XP or 2000 if that matters. Okay with VB solution, but I'm a little green, so be gentle:)Thanks for any help.
Not a easy job. You'll want to set some global variable to current DateTime after each key click/action. Everyten minutes, you'll want to compare current DateTime to this global variable. If the difference is 9:59 or greater, then boot 'em out.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks! Went into event procedure of the idle form and changed it to 5 minutes, and it worked like a charm. Thanks again!