Hi,

i hope i understood.
You can look how many people are logged on the database. If there are
to many users
you can refuse the connection.

If you have a service, then you can use a static variable. But you
must write a
timeout function. Perhaps a connection is killed by a network problem
or
a user will kill your application you need this function. If you use a
wcf service you can
use the single mode.
Look here 
http://www.codegain.com/articles/wcf/general/instance-management-in-wcf-part-1.aspx

best regards


Dennis Hoyer

------------------------------
www.dennis-hoyer.com



On 22 Okt., 09:34, james <[email protected]> wrote:
> Hi
>
> I need to gather the user information when the user has logged in so
> that I can limit access based on role level. The query that populates
> this set of info is run inside a try catch block.
>
> Whats the best way of doing it?

Reply via email to