Reputation: 6406
In my site administrator can view list all other online users.
Administrator can also disable any account from that list.
Everything was going fine so far. But now I decided to log out the user which is being disabled. How can I do a log out operation for a particular user from the above specified online user list?
NOTE: I'm using default membership schema for my SQL Server database.
Upvotes: 3
Views: 13019
Reputation: 9530
You cannot logout a user from outside of their session. See Programatically logout an ASP.NET user for a possible workaround.
Upvotes: 2