Asp.net: custom role and membership provider, LoginStatus control not responsive

Participating in a project where half of the team builds the db and web services layer and we create a separate website for web services located on the front.

We are creating a custom role and member provider that will run through the web service layer.

Just do early prototyping by setting roles, checking page permissions and seeing menu items disabled and enabled based on role, etc.

One strange object has appeared. The built-in loginview control switches correctly between LoggedInTemplate and AnonymousTemplate depending on whether someone is logged in or not.

However, the LoginStatus control doesn't respond at all. It always displays the text LoggedOut.

I would have guessed that LoginView and LoginStatus would work the same as just deferring in the new provider and they would work.

Authentication is also a form.

Does anyone know of any specific parameters to keep track of when using the LoginStatus control with custom providers?

thanks

0


a source to share


1 answer


Once all the roles and methods of the supplier were used correctly - everything was fine with the fact that



0


a source







All Articles