c# - Membership.GetNumberOfUsersOnline() does not return correct values -
I have to basically limit the number of users logged into my application. What I am doing Thanx in advance. Add a new column named status to your users table in the data base. That condition is the data type of column bit (1/0). Check every 15 minutes Users do not have any numbers online Use a timer in the code behind the page. Check the timer and increase that parcular event every 15 minutes membership.GetNumberOfUsersOnline () I am getting the number of logged users confirming a new user, I want to restrict the number of online users. I am
Membership GETNumberOfUsersOnline () When a new user logs in correctly, the problem occurs when a user exceeds the value of the
subscription. GETNumberOfUsersOnline () does not automatically reduce I searched on MSDN and found that this method checks the time of end user activity, which does not support signout events. What is the other way in
membership providers to restrict the number of users? I am using
Silverlight and
REST services. I am using
membership. GETNumberOfUsersOnline () on the server side.
Comments
Post a Comment