From: xingg_wu at yahoo dot com dot cn
Operating system: redhat linux9
PHP version: 4.3.3
PHP Bug Type: Session related
Bug description: session not works well
Description:
------------
Hello:
I want your help!
The session sometime works well,sometime works badly!
It creates new empty file in /tmp.I also find this problem
with apache1.3.12&php4.1.1&sybase11.9.2&linux
My php.ini is fault
my server config:
php4.3.3
httpd2.0.44
linux 9
sybase-11.9.2
tar-vzxf php-4.3.3.tar.gz
./configure �Cwith-apxs2=/home/apache/bin/apxs
�Cwith-sybase-ct=/opt/Sybase-11.9.2 �Cenable-ftp �Cenable-track-vars
�Cdisable-cli
make
make install
cp php.ini-dist /usr/local/lib/php.ini
Thanks a lot
Reproduce code:
---------------
login.php:
$user_array=sybase_fetch_row($result);
session_start();
session_register("user_array");
...
index.php:
session_start();
$user_name=$user_array[1];
--
Edit bug report at http://bugs.php.net/?id=26516&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26516&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26516&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26516&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26516&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26516&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=26516&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=26516&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26516&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26516&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26516&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26516&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26516&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26516&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26516&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26516&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26516&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26516&r=float