05 Mar 2010
03 Nov 2011
Link to this post
I have implemented a custom membership and role provider which inherits from MembershipDataProvider and RoleDataProvider. I am using Sitefinity v4.2
I am able to login to Sitefinity and see all the users and roles from my custom providers. However, I was not able to access the Sitefinity backend pages when I tried to login using the custom membership provider. I then proceeded to assign one of the roles to which the user belong to as an AdministrativeRole in Sitefinity via Administration --> Settings --> Security --> AdministrativeRoles.
I was then able to login to the backend Sitefinity pages using a user from my custom membership provider. However, later when I clicked on one of the Roles link, I was suddenly thrown out and adviced that someone is already using this username and password from another computer. You need to log him/her off. When I click to log the other user off and enter, I get thrown back to the login page again saying that I have been logged out from another computer. Repeated attempts to login again comes back with the same messages i.e. someone else is already logged in, please log them off and then I get thrown back to the login page. So right now I cant login using that user from my custom provider.
I have reset the app pool, restarted the website and also cleared my browser cache/cookies. However it is not working for me. Is there a setting/property I need to set on login/logoff in my custom providers?