Tony
Tony

Reputation: 2533

ASP.NET MembershipProvider applicattionName attribute: What it works for?

Its my first time asking here, i hope get help, and meanwhile, help you ppl too =)

My question is very simple:

What is the point of the applicationName attribute in the Membership Provider tables in ASP.NET?

I was thinking of implementing my own membership provider, but taking that attribute out. Is there anything wrong with it?

Thanks in advance

Upvotes: 0

Views: 79

Answers (1)

Thomas Levesque
Thomas Levesque

Reputation: 292565

This attribute is used when you store membership data for multiple applications in the same database. For instance, if you have 2 applications Foo and Bar, you could have a user "John Doe" in both applications, but since they would have different application names, they wouldn't be considered as the same user

Upvotes: 1

Related Questions