After upgrading PHP, Session Values not stored properly

From: Date: Mon, 23 Aug 2004 05:17:15 +0000
Subject: After upgrading PHP, Session Values not stored properly
Groups: php.general 
Request: Send a blank email to php-general+get-194449@lists.php.net to get a copy of this message
Hi, We recently upgraded PHP on our web server to version 4.3.8. After upgrading sessions are not working properly. Please help to configure the latest version. There is a log-in module on our web site. After successfully entering the log-in information, a session variable is created to track the user. But this value is not carried while loading other pages. So it returns to log-in module again. On the server , the session file is created (/tmp - path for session files) and the values are also saved in the file. The values are not retrieved properly by the following pages after log-in. The same log-in module was working perfectly with the older version 4.3.2. This is the LoadModule entry in the httpd.conf file for Apache.
        LoadModule php4_module modules/mod_php4-4.3.8.so
Server Version System - FreeBSD 4.7-RELEASE-p27 FreeBSD 4.7-RELEASE-p27 #33: Mo i386 Server API - Apache/1.3.27 OpenSSL/0.9.6 (Unix) PHP/4.3.8 Session Settings on this server (<?echo phpinfo();?>) Session Support - enabled Registered save handlers - files user
Directive                       Local Value     Master Value
session.auto_start              Off             Off
session.bug_compat_42           On              On
session.bug_compat_warn On              On
session.cache_expire            180             180
session.cache_limiter           nocache         nocache
session.cookie_domain           no value        no value
session.cookie_lifetime 0               0
session.cookie_path             /               /
session.cookie_secure           Off             Off
session.entropy_file            no value        no value
session.entropy_length          0               0
session.gc_divisor              100             100
session.gc_maxlifetime          1440            1440
session.gc_probability          1               1
session.name                    PHPSESSID       PHPSESSID
session.referer_check           no value        no value
session.save_handler            files           files
session.save_path               /tmp            /tmp
session.serialize_handler       php             php
session.use_cookies             On              On
session.use_only_cookies        Off             Off
session.use_trans_sid           On              On
Regards Sheni R Meledath sheni@cyber-gear.com

« previous php.general (#194449) next »