Could someone help me with a problem of authentication asp. net webfarms? I have two applications: an application .net framework 3.5 with another .net framework 4.5 both use the same authentication system asp.net and have the same machine key.
They are in the same domain, like this:
http://www.example.com/application1
http://www.example.com/application2
But when I make the sign in application1, authentication is not accepted by the other. when I make the sign in application2, it overwrites the first authentication.
UPDATE:
The systems are using the default authentication of Microsoft .Net and are referenced in the server as follows:
www.cotoso.com/application1
www.cotoso.com/application2
They also share the same cookie: aspauth
.
Please keep in mind that different .NET versions support different signign and authentication algorithms. As far as i can tell by the information given (im guessing), you should try to use a self signed certificate and import it to both machines. Also a good way to see what's happening and where requests are going you can check out Fiddler: http://www.telerik.com/fiddler