in an internet mvc 4 project, when run the project in debug mode,and login to application,the role for user wich was assigned before will recognized. the function that i use for getting user roles is :
but when i stop the debugging, and again run application in debug mode, user is authenticated but GetRolesForUser return string. why does it occures and doesn't return role?
Edited 19-Apr-13 22:58pm
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)