0

I have 2 Asp.net website in the same ISS7 webserver. Both site use forms authentication. When I'm logged in on first web site and I try to login on second web site, I lost authentication on fisrt one. I need use both site on same browser and now is impossible.

What can I do to solve my problem?

SOLVED

I found solution in this post Multiple applications using same login database logging each other out

Community
  • 1
  • 1
  • possible duplicate of [Multiple applications using same login database logging each other out](http://stackoverflow.com/questions/2454623/multiple-applications-using-same-login-database-logging-each-other-out) – Aristos May 15 '13 at 17:13
  • Please check the answer I have given in above link, I believe you have the same issue, and you can solve it with changing the cookie name on authentication on web.config. – Aristos May 15 '13 at 17:15
  • 1
    I found Solution here: http://stackoverflow.com/questions/2454623/multiple-applications-using-same-login-database-logging-each-other-out – Stefano Marconi May 16 '13 at 10:15
  • This is the link I give you (and my answer). – Aristos May 16 '13 at 10:19

1 Answers1

0

Ensure that both web applications are using the same machineKey values in the web.configs. This is used for encryption/decryption of the forms authentication ticket. There is really good information here: http://msdn.microsoft.com/en-us/library/eb0zx8fc(v=vs.100).aspx

M Smearer
  • 361
  • 2
  • 5