0

When Admin changes user's role, the database gets immediatelly updated, but the User.IsInRole uses the old role. The only thing that refreshes it is complete restart of the application.

I don't use owin, just FormsAuthentification.

Dovydas Šopa
  • 2,282
  • 8
  • 26
  • 34
  • 1
    what authentication method are you using? Identity? WebSecurity? – user1859022 Jun 21 '17 at 14:51
  • 1
    Possible duplicate of [Refresh current user's role when changed in ASP.NET identity framework?](https://stackoverflow.com/questions/29285406/refresh-current-users-role-when-changed-in-asp-net-identity-framework) – user1859022 Jun 21 '17 at 14:55

0 Answers0