Re: PHP 4.0 Bug #5152: Object passed in a session generateserrors when member functions are called

From: Date: Thu, 22 Jun 2000 21:45:14 +0000
Subject: Re: PHP 4.0 Bug #5152: Object passed in a session generateserrors when member functions are called
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-21993@lists.php.net to get a copy of this message
RL>> for example. In this case the complete class definition for the 123 RL>> object happens to be very simple. It says that 123 is an integer RL>> object. For more complex objects the class definition would also be more RL>> complex, but I don't think it would be inconsistent. We do not need it in sessions. Really. Sessions is for carrying data, not for making OLE components. Components are great, but they shoudn't be in sessions, in no way. Even Microsoft doesn't put Powerpoint in your word document when you insert powerpoint object there. It just puts an explanation where to find real powerpoint, isn't it? And if you don't have powerpoint installed you loose. That's how serialization always worked. Components are entirely different thing. -- Stanislav Malyshev stas@zend.com +972-3-6139665

« previous php.dev (#21993) next »