Re: [PHP4BETA] Serialization efficiency
| From: | Kristian Köhntopp | Date: | Sat, 12 Jun 1999 11:49:23 +0000 |
| Subject: | Re: [PHP4BETA] Serialization efficiency | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1523@lists.php.net to get a copy of this message | ||
Zeev Suraski wrote:
> I know that the session module uses serialization code that's platform
> independent, because it generates human readable output. Question is, why
> would we want that?
So that we don't die while we try to debug that
sessions data. Really, human readable session data
is much easier to handle for all that people that
will be using the session functions and need to have
a look if their page really saved that data they
exspected it to save.
In fact I think that a binary option may be
desireable, but only as an addon and not as a
default. It will certainly save you and others
a lot of support (or you include a function that
can dump any sessions state given a session storage
location/session id).
Kristian
--
Kristian Köhntopp, NetUSE Kommunikationstechnologie GmbH
Siemenswall, D-24107 Kiel, Germany, +49 431 386 436 00
Using PHP3? See our web development library at
http://phplib.shonline.de/ (GPL)