ID: 14950
Comment by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Session related
Operating System: Debian SID
PHP Version: 4.0CVS-2002-01-09
New Comment:

Forgot to tell : asking for .phps will show you the source in the
/test/session/ directory.


Previous Comments:
------------------------------------------------------------------------

[2002-01-09 10:36:08] [EMAIL PROTECTED]

Passing objects using the magic __sleep() and __wakeup() methods through
sessions fail.

In the best case the script fails without error. In the worst, an
integer in session turns into the value of the PHP session ID and the
object is not registered.

Yasuo Ohgaki guesses it's a serialize/unserialize problem.

Make log :

/usr/src/web/php/php4/ext/standard/var_unserializer.re: In function
`php_var_unserialize':
/usr/src/web/php/php4/ext/standard/var_unserializer.re:304: warning:
comparison is always false due to limited range of data type

Tests : http://php.hellekin.com/test/session/
PHPInfo() : http://php.hellekin.com/info.php

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=14950&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to