I am experiencing a strange behavior of FormsAuthentication. I have several controllers with
Authorize attribute, but there are some wihout, like the default one, and the one with the login action.
When I am opening the application in a browser, I got redirected to the login action. But the default action is not protected. I have a link to
/ on the page, and after several clicks and redirections it is letting me see the default action view as expected. There is no logic in how many tries I have to do to get to the default view. Sometimes one is enough sometimes ten. No matter what browser I am using, no matter I am using IIS Express or local IIS on Win7. But it is not occurring with the Development server.
These are real http 302 redirections.
Please, help me with some ideas.
Thank you in advance!