Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all

Could any one help me to implement the licencing in asp.net web application.I wanna give 40 user license to my client .Means concurrenly only 40 user can use the asp.net web application.

Thanks in advance

Touqeer Hameed
Posted

There are many ways to handle number of users.

1. In configuration file, define a key for "Number of User" and value "40".

2. In database table. Create one table and define key-value pair.

3. In registry also can define key-value pair.

Every time when user will try to get log-in in your application you need to check user count and if it is <40 then you need to increase that number and save/update in application variable. if it is >40 then you can restrict user to log-in in the application
 
Share this answer
 
Just implement authentication on the page. If this group of users never changes (or infrequently changes) I would consider creating a group on the web server, give those users an account on the box, and put them into the group that is allowed to access the web app. That way, the we app can ask them to log in and use Windows authentication to allow/disallow access.

If that's not appropriate (you want people to be able to "register", then you have to find/write a module to handle that.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900