Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > Pro PHP
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 17th, 2006, 01:31 PM
Registered User
 
Join Date: Mar 2006
Location: Las Vegas, NV, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.

Reply With Quote
  #2 (permalink)  
Old April 20th, 2006, 02:38 PM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 5 Times in 5 Posts
Default

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Pro Chap 3 wozza1664 Pro PHP 1 June 23rd, 2008 03:05 PM
php5 chap 15 help needed twr Beginning PHP 1 January 5th, 2008 05:20 AM
chap 15 manal_sag BOOK: Beginning ASP 3.0 2 July 10th, 2005 03:29 AM
help in chap 15 manal_sag BOOK: Beginning ASP 3.0 2 May 25th, 2005 02:59 AM
Sessions - Chap 15 mminnie BOOK: Professional PHP 5 ISBN: 978-0-7645-7282-1 1 January 10th, 2005 03:25 AM



All times are GMT -4. The time now is 08:40 AM.


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