Clietn ID

J

John

Hi,

I have an asp.net application. I'd like to limit the
companies using it to a set number of users logged in at
any one time. However, some users, on a single client PC
might want to have multiple browser sessions open at one
time and I only want to count this as one user.

I was hoping that there was some way to uniquely identify
a client PC. I thought maybe I could get something like
the MAC address in combination with the IP address. I
think I can get the client IP address by doing a

Dim ClientIp as string = Request.UserHostAddress

but this seems to often be duplicated (perhaps the address
of a gateway).

Does anyone know how I might get the MAC address or some
other unique identifier of a Client workstation.

Thanks,
JOhn
 
S

Steve C. Orr [MVP, MCSD]

You may be able to use a cookie.
The best way is to have them log in with a user name & password.
Other anonymous techniques, such as the ones you mentioned are flawed and
discouraged because of privacy concerns.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top