开发者

If admin blocks a user then session of that current user should be expired in ASP.NET

开发者 https://www.devze.com 2023-01-06 23:15 出处:网络
Is there any way to implement this. If admin blocks a user then session of that current user should be expired in 开发者_运维百科ASP.NETYou could implement a custom membership provider which provides

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

0

精彩评论

暂无评论...
验证码 换一张
取 消