views:

43

answers:

2

Hello everyone!

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

A: 

Great answer here (look under 'Scoping of Membership Data':

http://msdn.microsoft.com/en-us/library/aa478949.aspx

Basically, it's so that you can use the same database for multiple applications.

Wayne Hartman
+1  A: 

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

Thomas Levesque
I see, so if i just want to have 2 applicattions using the same data, i dont need that attribute, because if it was like the same app, right?Thanks for the answer!
Tom S.