PHP 4.0 Bug #7407 Updated: Session variables appear to get corrupted

From: Date: Fri, 27 Oct 2000 09:38:23 +0000
Subject: PHP 4.0 Bug #7407 Updated: Session variables appear to get corrupted
Groups: php.dev 
Request: Send a blank email to php-dev+get-36107@lists.php.net to get a copy of this message
ID: 7407 Updated by: sas Reported By: thomas@unifiedconsulting.com Status: Closed Bug Type: *Session related Assigned To: Comments: The change which caused this has been reverted. Thanks for your report. Previous Comments: --------------------------------------------------------------------------- [2000-10-23 07:51:50] thomas@unifiedconsulting.com This bug occurs in 4.0.3 or 4.0.3pl1 but not in lower 4.0.x versions. My eCommerce site at www.linuxboxen.com uses a cart object with arrays to store the actual products in the cart. The cart object is registered as a session variable in virtually every script. When using 4.0.3 or 4.0.3pl1, the arrays in the object appear to become corrupted after adding more than 2 items with the syntax $cartcontents[]=$newitem; Where $newitem is an array with $newitem[0]=an object and $newitem[1]=a number Specifically, the first item in cartcontents seems to become unset, although count($cartcontents) will still report the correct number. Sorry I can't be more detailed in this report; the code is pretty long. If you contact me at thomas@unifiedconsulting.com I can temporarily install 4.0.3 to demonstrate the bug. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7407

« previous php.dev (#36107) next »