php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26516 session not works well
Submitted: 2003-12-03 20:38 UTC Modified: 2003-12-04 02:03 UTC
From: xingg_wu at yahoo dot com dot cn Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.3.3 OS: redhat linux9
Private report: No CVE-ID: None
 [2003-12-03 20:38 UTC] 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];


Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-12-04 02:03 UTC] sniper@php.net
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!!!

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Aug 22 22:01:27 2024 UTC