From: Eric S on 2 Mar 2010 15:29 Thanks Alexey and that's takes care of it. "Alexey Smirnov" <alexey.smirnov(a)gmail.com> wrote in message news:6d4e101a-0c28-4791-8812-142be9f3c7f3(a)o3g2000yqb.googlegroups.com... On 2 Mrz., 19:58, "Eric S" <xxx_noS...(a)Hotmail.com> wrote: > Hi All, > > When I create a credential for users to log in, I can not allow them to > log > in more then 2 different computers. Otherwise the user can provide the > Credential for 20 different people and will try hammer the server. > > If user A logged in I can update a flag in a table called MemberInfo and > when he/she Logged out I can reset that flag and also have a counter of > the > numbers of logins.... Or even can update the time he/she logged in. > > a) > Problem is what happens when he closed the browser and did not log out? > > b) > If the browser is crashed then there is no way for me to update the flag. > > How would you handle this kind of situation? > Appreciate some code / Ideas. > > Thanks, > > Eric One more tip http://teknohippy.net/2008/08/21/stopping-aspnet-concurrent-logins/
First
|
Prev
|
Pages: 1 2 Prev: How to call a JS function on the form loading? Next: webservices and threads |