p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Pro PHP (http://p2p.wrox.com/forumdisplay.php?f=96)
-   -   Pro PHP Chap 15 (http://p2p.wrox.com/showthread.php?t=39987)

kgmcmillen March 17th, 2006 02:31 PM

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.


richard.york April 20th, 2006 02:38 PM

Try asking in the book's forum:
http://p2p.wrox.com/forum.asp?FORUM_ID=149

Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html


All times are GMT -4. The time now is 01:06 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.