PHP 4.0 Bug #7676 Updated: session_register doesn't save classes anymore!
| From: | sniper@php.net | Date: | Mon, 27 Nov 2000 12:26:41 +0000 |
| Subject: | PHP 4.0 Bug #7676 Updated: session_register doesn't save classes anymore! | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39242@lists.php.net to get a copy of this message | ||
ID: 7676
Updated by: sniper
Reported By: pmjo@saunalahti.fi
Status: Closed
Bug Type: *Session related
Assigned To:
Comments:
And this is fixed in CVS now.
Please try latest snapshot from http://snaps.php.net/
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-11-27 07:15:58] sniper@php.net
reclassify
---------------------------------------------------------------------------
[2000-11-07 12:22:35] pmjo@saunalahti.fi
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. :/
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7676