That doesn't work. If one instance crashes, the count is off.
>Mo,
>You could add code that would increment a number by one in a file (or table) on the server when the application starts and decrement the number by one when the application is closed.
>
>Also depending on which server OS you are using I think the OS keeps track of who is using the file. I know this was the case with Novell.
>
>Einar
>
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer