?
Solved

Way to log out users automatically if inactive for set period of time

Posted on 2003-03-19
3
Medium Priority
?
199 Views
Last Modified: 2008-03-06
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.
0
Comment
Question by:MilburnDrysdale
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 18

Expert Comment

by:1William
ID: 8168343
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.
0
 
LVL 11

Accepted Solution

by:
joekendall earned 225 total points
ID: 8168454
This site has an example for Access 97/2000. It is under Detect and Logoff Idle Users.

http://www.candace-tripp.com/access_downloads.htm

Thanks!

Joe
0
 

Author Comment

by:MilburnDrysdale
ID: 8168979
Thanks! Went into event procedure of the idle form and changed it to 5 minutes, and it worked like a charm. Thanks again!
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Suggested Courses

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question