Last post Apr 26, 2015 08:34 PM by JaneYU
Apr 24, 2015 11:03 AM|JaneYU|LINK
I have a very weird problem for ASP.NET Identity roles:
I have ASP.NET application which was built based on VS 2013 ASP.NET Forms application template.
For the security setting I have three parts: Anonymous user can access some of the files under main folder; registered user can access all the file under main folder, and Admin can access the files under "Admin" subfolder and I set the permission for that
folder is <allow roles="Admin" /><deny users="*">.
The problem I have is I created an adminUser assigned it "Admin" role, the user can login to the site of admin part no problem and can log off and login again as long as the web browser did not closed. But when the web browser closed, then re-open the web
browser, and go the our webpage, then the user cannot login any more, and the worst part is other users cannot login either. I have to recycle the application pool, then the user can login again.
I have no clue why this happened and I am new for this ASP.NET identity technology.
I really appreciate for the helps,
Apr 26, 2015 08:34 PM|JaneYU|LINK
I fixed the problem by following this link: