PercyN
Programmer
- May 16, 2007
- 86
Hi,
I'm working on a database for a client which I intent to offer on a "per-user-logged-on" license basis. So for instance he may create 1000 users if he wants in the users table but only 5 for instance can logon concurrently because thats what he paid for. What is the best way to go about this?
1. Each time a front end is connecting to the back end is there a way to know how many users are already connected to the BE?
2. Or do I have to maybe create a tick box in the users table which I then check when the user logs on and uncheck when he logs off? That way I can count how many are logged on at any point in time. This one has its own problems, for instance is the particular workstation loses power and the user did not have time to logg off.
Is is there a better, easier way?
Thanks.
I'm working on a database for a client which I intent to offer on a "per-user-logged-on" license basis. So for instance he may create 1000 users if he wants in the users table but only 5 for instance can logon concurrently because thats what he paid for. What is the best way to go about this?
1. Each time a front end is connecting to the back end is there a way to know how many users are already connected to the BE?
2. Or do I have to maybe create a tick box in the users table which I then check when the user logs on and uncheck when he logs off? That way I can count how many are logged on at any point in time. This one has its own problems, for instance is the particular workstation loses power and the user did not have time to logg off.
Is is there a better, easier way?
Thanks.