First of all, giving everyone the same username and password is a mistake. Nobody should EVER share the same login information.
Next, you're going to need to figure out a way to track usage. The easiest way is to track by IP address, however if everyone is behind a proxy or firewall, that won't work. Another way to track them is by using cookies. You associate the cookie on their machine with their user info. Whatever means you use to track the user, next you need a table to track concurrent sessions. As soon as a user logs in, you make an entry to the usage table. When the number of users reaches 20, you would prevent the next user from logging in. Another thing your probably going to want to do is implement an "auto logout" feature like many of the online banking sites have. This will prevent somebody from walking away from their desk for extended periods - thereby causing the next person to not be able to login because potentially all the concurrent sessions would be in use. If you are hosting the code itself on your own server, you will be able to protect it and enforce the usage rules. However, if you give it to the client and let them host it under their control, well, then nothing really would stop them cracking open the code to eliminate all your security measures. ---mark -----Original Message----- From: Hamid Hossain [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 18, 2001 3:00 AM To: CF-Talk Subject: controlling GROUP ACCESS Hi, I have a website that produces some information. No one can see my information except registered users. I give every user a UserName and Password to access his account. I want to add a new type of registration. Some of the big organizations asked me to provide them with a special registration. They want to buy 20 licences for 20 PCs for a year. All the 20 PCs should login with the same username and password at the same time. Or I may provide them with a software that makes them already logged in. I need any suggestion about this kind of GROUP ACCESS to a website. How to sell a number of licences to a customer. Regards, Hamid Hossain ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists