Subject: Why no UserID property in the Membership class
Posted By: mega Post Date: 8/16/2006 2:01:26 AM
Hi all.

Does anyone know why there is no UserID in the Membership class? I think it's because the ASP.NET team wants developers to use their own User class in conjunction with the Membership and Profile classes. But it's doesn't make any sense, when you already got the user name, email address, last login etc. Is the only easy alternative to store the user id in a session? That's not at all OO!!

I really don't get it. Everyone uses the user id for queries and yeah anything else where you need to do something user specific. Their should had got it right in ASP.NET 1.1, but nooooo.

Am I the only one who think this is crazy?

 - mega
Moving to C# .NET

Go to topic 48421

Return to index page 203
Return to index page 202
Return to index page 201
Return to index page 200
Return to index page 199
Return to index page 198
Return to index page 197
Return to index page 196
Return to index page 195
Return to index page 194