This is not that hard to do in either the application or the server (at
least with SQL Server).
On the server, get into SQL Enterprise Manager and right click on the
selected server icon in the explorer window on the left. Choose
Properties|Connections. Set the maximum number of concurrent user
connections here. 0 = no limit (but it's really limited by the number of
licenses if you've installed SQL Server using this licensing scheme).
On the client, you can do a SELECT on master..SysProcesses. This table
keeps track of every running process. You'll find lots of columns there to
check including "program_name" or "hostname" "nt_username" and others that
can be counted up for instances of your application running.
hth
--
____________________________________
Bill Vaughn
MVP, hRD
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________