J
John Baima
I want to be able to restirct my site to one login at a time per
userid. I have read some good solutions to avoid a second login:
http://www.aspfree.com/c/a/ASP.NET/Preventing-Simultaneous-Logons/
http://www.eggheadcafe.com/articles/20030416.asp
http://www.eggheadcafe.com/articles/20030418.asp
But what I would really like to do is to kick the old user off and let
the new login on. This seems like a much more normal situation. A user
is using the web site on a desktop, and then leaves and logs on with
an iPhone. Do I want to keep him off the iPhone until the old session
expires, or allow the iPhone and kill the desktop session?
Any suggestions about how to do that? If I know the session id, can I
do the equivalent of Session.Abandon() and Session.Redirect() to
another session outside of the current session? Can I send a message
to another session based on the session id?
Thanks!
-John
John Baima
userid. I have read some good solutions to avoid a second login:
http://www.aspfree.com/c/a/ASP.NET/Preventing-Simultaneous-Logons/
http://www.eggheadcafe.com/articles/20030416.asp
http://www.eggheadcafe.com/articles/20030418.asp
But what I would really like to do is to kick the old user off and let
the new login on. This seems like a much more normal situation. A user
is using the web site on a desktop, and then leaves and logs on with
an iPhone. Do I want to keep him off the iPhone until the old session
expires, or allow the iPhone and kill the desktop session?
Any suggestions about how to do that? If I know the session id, can I
do the equivalent of Session.Abandon() and Session.Redirect() to
another session outside of the current session? Can I send a message
to another session based on the session id?
Thanks!
-John
John Baima