Block Concurrent user
-
Hi, How to block the login of same user at different location in asp.net. Thankyou, ypki
-
Hi, How to block the login of same user at different location in asp.net. Thankyou, ypki
Do you mean to allow users to login on one machine only such that they can't simultaneously login from another machine? Presumably you are tracking that users have logged in? If so, there are a number of ways to do this, the simplest being check to see if they are already logged in if. If they are, refuse the new login. You could also capture the IP address of the machine and refuse a login from another IP address if they are still logged in on the first machine. This also means handling logging out and dead sessions - leave you to figure out the nuts and bolts of all of this as appropriate to your application.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me