Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Log Users Off

Status
Not open for further replies.

ryan1

Programmer
May 15, 2002
106
0
0
US
Question. Is there a way to automatically log all users off a database?
 
What I have done is have a hidden form that is always running in the background.

The hidden form has a timer control that periodically queries a table on the backend. The table might be called app_config or something and has a field called log_out. If the log_out field has a Yes, I initiate an application quit on the front-end db the user is using. Normally I will bring up a message box that warns the app will be shut down in n minutes so the user can save data.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top