Pedre
Pedre

Reputation: 446

Multiple applications with membership and same applicationName

My problem is the same that: Multiple applications using same login database logging each other out

I've set up two ASP.NET applications on a machine, their web.config files contain the same applicationName value in AspNetSqlMembershipProvider item so they share users and roles.

The problem sequence is:

user logs into application A, opens new tab in a browser logs into application B, his login in application A is signed out and vice versa.

Should I use a different approach to sharing login information between two applications?

The problem is that the solution, only avoid signed out beetween applications, but the applications do not share users logins. I want that.

How can i make this?

Upvotes: 0

Views: 278

Answers (1)

Remy
Remy

Reputation: 12713

Maybe if you follow these instructions:
http://telligent.com/support/telligent_evolution_platform/w/documentation/common-things-to-check-when-using-forms-authentication.aspx

Keep cookiename, domain and machine key the same. This worked for me, but my app is in a subdirectory of the other app.

Upvotes: 1

Related Questions