So, there is going to be one login form; however 1 of 3 types of members will be signing in member_type_a, member_type_b, member_type_c all of whom have some of the same properties, and some whom may have specific methods and/or properties to them. I want the class to be saved to a session variable for use with member area pages.
Any suggestions on applicable design patterns?
Gordon: Access control isn't my issue... I understand how to control where a user is allowed to go. My question is on how to structure my login class; when a user signs in, a method will search 3 tables for a valid username and password. When it is found, I will know what type of user they are and will be able to redirect them to their member page accordingly. I'm just trying to debate how I can keep my classes loosely coupled in such a way, that if we had to add more member types down the line, it would be endlessly scalable.
For example, one difference would be the redirect URL