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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Control Number of Users License

Status
Not open for further replies.

savita

Programmer
May 19, 2002
6
HK
We use FPW2.6a to develop all our application software and would like to control number of users license.

Please help.

Example:
If I would like to setup the software for my client for 5 users than it should not restrict more than 5 uers to log on to it.
 
There are several posts in this forum on different scenarios such as using hard disk serial number as a key and such. Using one of those techniques coupled with an issued license key would probably be one the best ways to go about it.


-Dave Summers-
[cheers]
Even more Fox stuff at:
 
savita,
Another way to do this is to create an active user table with five records in it. Then when a user logs on, try to LOCK each record until you find one. Then when they exit the application release the lock - if they have connection problems or a system crash the file server will eventually release the lock. Of course, if you can't get a LOCK, you know all five user "slots" are in use and you can reject the log in.

Of course you can get fancy and put the SYS(0) information in the file so you know who's currently logged in. (e.g. Have an Administrator screen that allows you to view them!)

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top