I made a custom membership provider and overrode the ValidateUser method, but now I am confused. I am not using any Login controls, I just have a site wide login (username and password box) on a masterpage.
Questions:
Do I need to call the ValidateUser() method myself? If so, what are the next steps to take? Do I create the auth cookie which methods do I need to call to complete the login?
I need to return some custom user data if the user is authenticated. Is it better to call GetUser and check for null or just call ValidateUser and then grab a user object?
- Where and how should I store the custom data for the user? Is it stored in the identity object? Should I store it in the MembershipUser Object?