|
-
Sep 10th, 2002, 11:33 AM
#1
Thread Starter
Addicted Member
How to detect who is accessing the database
Hi,
I am doing a multi-user database and there will definitely be more than 1 user accessing the database at the same time. How can I detect whether is there any user accessing the database ? Thanks in advance.
-
Sep 10th, 2002, 02:08 PM
#2
The least painful way of seeing who is currently connected to your Db is to add an admin table. In the Form_Load event, Write a record back to this table containing the userId, and date/time that they connected.
If the Form_Unload event, write another record containing the userId, and date/time they disconnected.
Warning: This table can get very full, very fast, so judicious table maintenance is a must (unless you need to know who and whattime, logged in 2 months ago)
-
Sep 10th, 2002, 07:22 PM
#3
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|