Subject: Pro PHP Chap 15
Posted By: kgmcmillen Post Date: 3/17/2006 1:31:55 PM
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.

Reply By: richard.york Reply Date: 4/20/2006 2:38:50 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

Go to topic 42914

Return to index page 308
Return to index page 307
Return to index page 306
Return to index page 305
Return to index page 304
Return to index page 303
Return to index page 302
Return to index page 301
Return to index page 300
Return to index page 299