I have 3 asp.net webforms application using Forms Authentication on the same server, same domain. They share a machineKey for encryption/decryption of the authentication cookie.
Application1 and Application2 are using .net version 4 and Application3 .net version 3.5.
If I login to Application1 and while browsing Application1 I login to Application2 on the same computer, on the next request on Application1 it redirects back to the login page indicating a non-authenticated user. At the same time I can redirect back to Application1 or to Application3 bypassing the login form, but going to Application1 redirects me to the login form.
I have verified that the request contains the authentication token pertaining to Application1 and that the application is able to decrypt it, but it always behaves as if the user is not authenticated.
I am trying to determine why it is that when Application3 is accessed from the same machine, it basically "logs off" the user on Application1.
Any help will be greatly appreciated.