If admin blocks a user then session of that current user should be expired in ASP.NET
Is there any way to implement this.
If admin blocks a user then session of that current user should be expired in 开发者_运维百科ASP.NET
You could implement a custom membership provider which provides this functionality. This is as far as I know the only way, other than hacking into .NET and remove their serverside cookie. But that wouldn't be recommended.
The ASP.NET Membership is there to implement this. More info on: http://msdn.microsoft.com/en-us/library/f1kyba5e.aspx
精彩评论