EnableCrossAppRedirects – Where is the cross-domain feature documented?
Here an interesting feature of ASP.NET FormsAuthentication explained in this SO answer: How do you pass an authenticated session between app domains
Here an interesting feature of ASP.NET FormsAuthentication explained in this SO answer: How do you pass an authenticated session between app domains
This is one of this things that should be extremely simple and I just can’t work out why it’s not working.
I’m trying something quite exotic I believe and I’m facing a few problems, which I hope can be solved with the help of the users here on StackOverflow.
In ASP.NET the FormsAuthenticationModule intercepts any HTTP 401, and returns an HTTP 302 redirection to the login page. This is a pain for AJAX, since you ask for json and get the login page in html, but the status code is HTTP 200.
I’m having trouble in getting the Authorize attribute to work with roles. This is how I’ve decorated my controller:
I am doing some development on my local machine using VS 2010 and running my dev code in Cassini, I also have taken a copy of the same code and deployed it to c:mp and setup a web application in IIS7 to point to this directory.
I’m using ASP.NET MVC 3, with forms authentication (based on modified vanilla account code you get with file->new).
I have an existing ASP.NET application that implements Forms Authentication site-wide. The application is deployed in multiple instances (e.g., customer1, customer2, test, dev, etc…), with a separate database per instance. SSL is in play. Instance configuration is via an XML config file.
I have been having trouble with my production site (not my development sites). Every now and then both Firefox and Chrome fail to log users in (all users both on our client network and general web). But the strange part is that Internet Explorer always works correctly and has NEVER failed once (I have delete cache and cookies in browsers but still the same thing happens).