#23761 [NEW]: bizarre session variable behavior only in RC4
| From: | php-general at pennysaverusa dot net | Date: | Thu, 22 May 2003 21:13:29 +0000 |
| Subject: | #23761 [NEW]: bizarre session variable behavior only in RC4 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-40210@lists.php.net to get a copy of this message | ||
From: php-general at pennysaverusa dot net
Operating system: RedHat 7.3
PHP version: 4.3.2RC4
PHP Bug Type: Session related
Bug description: bizarre session variable behavior only in RC4
4.3.2RC3 has been working fine, but after upgrading to RC4, we are seeing
some bizarre session variable behavior.
semicolons (;) are showing up infront of some session variable names.
e.g. an excerpt from the output of print_r ($_SESSION):
[ppm] => 17.75
[;;;platecost] => 100
[;;;shipcost] => 0
[;;;printingcpm] => 15
[;;;minimum] => 15000
[allowoverrun] => 1
Reloading the page that merely does print_r ($_SESSION) causes 1 more
semicolon to the afflicted variables with each reload!
contents of /tmp/php/session file:
agent_id|s:5:"barry";contact|s:13:"Barry J Gould";agency|s:21:"HHS
Internet Services";phone|s:17:"714-577-4313
x313";adid|i:100;adindex|i:19;adname|s:44:"English and Spanish Version, 2
Sides -
ocala";numsides|i:2;adtype|s:1:"I";vendorid|i:1;ppm|d:17.75;;;;platecost|d:100;;;;shipcost|d:0;;;;printingcpm|d:15;;;;minimum|i:15000;allowoverrun|i:1;overrunquantity|i:0;pubfreq|s:1:"w";pubmonth|i:1057042800;
note the extra semicolons in the session file too!
RC3 DOES NOT do this!
./configure --with-mysql --with-gd --with-zlib-dir=/usr/lib
--with-apxs=/usr/sbin/apxs --with-config-file-path=/etc --enable-sockets
apache-1.3.27-2 from RedHat's RPM
/usr/sbin/httpd -DHAVE_ACCESS -DHAVE_PROXY -DHAVE_AUTH_ANON -DHAVE_ACTIONS
-DHAVE_ALIAS -DHAVE_ASIS -DHAVE_AUTH -DHAVE_AUTOINDEX -DHAVE_AUTH_DB
-DHAVE_AUTH_DBM -DHAVE_PHP4 -DHAVE_CERN_META -DHAVE_CGI -DHAVE_DIGEST
-DHAVE_DIR -DHAVE_ENV -DHAVE_EXAMPLE -DHAVE_EXPIRES -DHAVE_HEADERS
-DHAVE_IMAP -DHAVE_INCLUDE -DHAVE_INFO -DHAVE_LOG_AGENT -DHAVE_LOG_CONFIG
-DHAVE_LOG_REFERER -DHAVE_MIME -DHAVE_MIME_MAGIC -DHAVE_MMAP_STATIC
-DHAVE_NEGOTIATION -DHAVE_REWRITE -DHAVE_SETENVIF -DHAVE_SPELING
-DHAVE_STATUS -DHAVE_UNIQUE_ID -DHAVE_USERDIR -DHAVE_USERTRACK
-DHAVE_VHOST_ALIAS -DHAVE_SSL
MySQL 4.0.12
SMP Server (Dual P4 Xeon)
1GB RAM
Thanks,
Barry Gould
--
Edit bug report at http://bugs.php.net/?id=23761&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23761&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23761&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23761&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23761&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23761&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23761&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23761&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23761&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23761&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23761&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23761&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23761&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23761&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23761&r=gnused