ID:               26497
 Updated by:       [EMAIL PROTECTED]
 Reported By:      xingg_wu at yahoo dot com dot cn
-Status:           Open
+Status:           Bogus
 Bug Type:         Session related
 Operating System: redhat linux 9
 PHP Version:      4.3.3
 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Please ask support questions elsewhere, this is not discussion forum.
(There is no bug here)



Previous Comments:
------------------------------------------------------------------------

[2003-12-02 02:10:09] xingg_wu at yahoo dot com dot cn

hi,sniper!
can you tell me how to solve this problem?
The php.ini is fault.But the session create two files in /tmp.One is
the
correct,the other is empty.
Thanks!
---------------------login.php-------------------
...
        $user_array1=sybase_fetch_row($result);
        print $user_array1[1];/*not null--right*/
        sybase_close($dbHandle);
        session_start(); 
        session_register("user_array1");
....
-----------------end----------------------------
-------------------the other file---------------
session_start();
print $user_array1[1];/*null-not right*/
.....
----------------------end----------------

thanks!

------------------------------------------------------------------------

[2003-12-02 01:57:01] xingg_wu at yahoo dot com dot cn

Description:
------------
hi,sniper!
can you tell me how to solve this problem?
The php.ini is fault.But the session create two files in /tmp.One is
the correct,the other is empty.
Thanks!
---------------------login.php-------------------
...
        $user_array1=sybase_fetch_row($result);
        print $user_array1[1];/*not null--right*/
        sybase_close($dbHandle);
        session_start(); 
        session_register("user_array1");
....
-----------------end----------------------------
-------------------the other file---------------
session_start();
print $user_array1[1];/*null-not right*/
.....
----------------------end----------------


thanks!

Reproduce code:
---------------
---------------------login.php-------------------
...
        $user_array1=sybase_fetch_row($result);
        print $user_array1[1];/*not null--right*/
        sybase_close($dbHandle);
        session_start(); 
        session_register("user_array1");
....
-----------------end----------------------------
-------------------the other file---------------
session_start();
print $user_array1[1];/*null-not right*/
.....
----------------------end----------------


Expected result:
----------------
i want "print $user_array1[1];" not null;

Actual result:
--------------
null
And the session create two file in /tmp.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=26497&edit=1

Reply via email to