Pro PHP Chap 15
I don't understand why the authors of Professional PHP5 elected to skip the simpler session data handler services of PHP and build this more complex object based solution.
This makes it imperative to use $objSession->element = 'value', instead of the more usual $_SESSION['element'] = 'value'; A significant issue when trying to retro-fit an existing series of scripts with a new session handler (as we are moving from a single server to a cluster with load-balancing).
Why did they think this method was better? Is there an inherent problem with trying to implement the simpler solution?
I'm not suggesting the solution is wrong, but I can't see why this one is better. I hope this question is clear. Thanks for any response.