PHP 4.0 Bug #7676: session_register doesn't save classes anymore!
| From: | pmjo at saunalahti dot fi | Date: | Tue, 07 Nov 2000 11:22:35 +0000 |
| Subject: | PHP 4.0 Bug #7676: session_register doesn't save classes anymore! | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37340@lists.php.net to get a copy of this message | ||
From: pmjo@saunalahti.fi
Operating system: Linux
PHP version: 4.0.3pl1
PHP Bug Type: *General Issues
Bug description: session_register doesn't save classes anymore!
My problem is:
I have made a web shop. It stores ShoppingCart class in
sessions. (using session_register)
Before I used php 4.0 and it worked fine.
Now I upgraded to 4.0.3pl1 and the shoppingcart will not be saved anymore. (to the session file)
Is this a bug or should session_register only work with variables and arrays ? not with classes ?
Damn. It was very nice when I were able to save a class in session. Now I'm in big big big
trouble with my shop. :/
--
Edit Bug report at: http://bugs.php.net/?id=7676&edit=1