Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
All-Star
28084 Points
4997 Posts
MVP
May 07, 2012 04:36 PM|LINK
This is a very hard thing to achieve. When the user closes the browser, you may or may not be able to write javascript to get notified (the user may disable JS or the browser might have crashed).
Session_End only works if you're keeping session In-Proc, which is a very bad option.
BrockAllen
All-Star
28084 Points
4997 Posts
MVP
Re: One user logged-in at a time in asp.net 4.0
May 07, 2012 04:36 PM|LINK
This is a very hard thing to achieve. When the user closes the browser, you may or may not be able to write javascript to get notified (the user may disable JS or the browser might have crashed).
Session_End only works if you're keeping session In-Proc, which is a very bad option.
DevelopMentor | http://www.develop.com
thinktecture | http://www.thinktecture.com/