#26516 [Opn->Bgs]: session not works well
ID: 26516
Updated by: sniper@php.net
Reported By: xingg_wu at yahoo dot com dot cn
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: redhat linux9
PHP Version: 4.3.3
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
PLEASE don't ask this again. There is no bug here.
And this is NOT a support forum, use the mailing lists!!!
Previous Comments:
------------------------------------------------------------------------
[2003-12-03 20:38:36] xingg_wu at yahoo dot com dot cn
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 this bug report at http://bugs.php.net/?id=26516&edit=1
Thread (2 messages)