J
Jeff Beem
I'm working on an application in which we have employed the use of the aspnet
membership model. My employer has asked me to ensure that any given account
can be logged in only once at a time. Determining whether or not an account
is already logged in is very simple. The next requirement is that when a
user is logging in I prompt them with a message saying that the account is
already logged in and if they continue, the other account will be logged out.
So, assuming we have the same account logged in through a different machine,
is there a way to log that account out? Isn't the "authenticated" token
stored in a cookie on the users machine?
The only other option I can think of is to force the user to wait until the
other account times out, which would be a severe annoyance for most, I
believe.
Any help would be appreciated.
Thanks,
Jeff
membership model. My employer has asked me to ensure that any given account
can be logged in only once at a time. Determining whether or not an account
is already logged in is very simple. The next requirement is that when a
user is logging in I prompt them with a message saying that the account is
already logged in and if they continue, the other account will be logged out.
So, assuming we have the same account logged in through a different machine,
is there a way to log that account out? Isn't the "authenticated" token
stored in a cookie on the users machine?
The only other option I can think of is to force the user to wait until the
other account times out, which would be a severe annoyance for most, I
believe.
Any help would be appreciated.
Thanks,
Jeff