What is a “pretty and proper OO” way for handling sessions and authentication?
- by asdfqwer
Is coupling these two concepts a bad approach?
As of right now I'm delegating all session handling and whether or not a user desires to logout in my config.inc file. As I was writing my Auth class I started wondering whether or not my Auth class should be taking care of most of the logic in my config.inc. Regardless, I'm sure there's a more…