Bug #16627 Updated: SID is empty
| From: | mmichael at audiogalaxy dot com | Date: | Wed, 24 Apr 2002 01:59:01 +0000 |
| Subject: | Bug #16627 Updated: SID is empty | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-5772@lists.php.net to get a copy of this message | ||
ID: 16627
Updated by: mmichael@audiogalaxy.com
Reported By: michael.hockerts@fonetix.de
Status: Open
Bug Type: Session related
Operating System: Linux 2.4.10
PHP Version: 4.2.0
New Comment:
We are getting the same error. It works fine on php 4.1.2, but 4.2.0
blows up. We do not have sessions trans ID enabled, but I noticed the
configuration script no longer recognizes trans-sid. Not everybody has
cookies and php 4.2.0 appears to break sessions for people w/o cookies.
Previous Comments:
------------------------------------------------------------------------
[2002-04-16 05:33:26] michael.hockerts@fonetix.de
With enabled cookies, it works, but I would have to change the
configuration of 1400 clients to allow cookies.
Cookies are not enabled in my serverconfiguration:
session.auto_start Off
session.cache_expire 180
session.cache_limiter nocache
session.cookie_domain no value
session.cookie_lifetime 0
session.cookie_path /
session.cookie_secure Off
session.entropy_file no value
session.entropy_length 0
session.gc_maxlifetime 1440
session.gc_probability 1
session.name SESSID
session.referer_check no value
session.save_handler files
session.save_path /tmp
session.serialize_handler php
session.use_cookies Off
session.use_trans_sid 0
its the same php.ini I used in 4.1.2 and lower.
I also tried the php.ini-dist from RC4
------------------------------------------------------------------------
[2002-04-16 05:31:33] michael.hockerts@fonetix.de
With enabled cookies, it works, but I would have to change the
congiguration of 1400 clients to allow cookies.
Cookies are not enabled in my configuration:
session.auto_start Off
session.cache_expire 180
session.cache_limiter nocache
session.cookie_domain no value
session.cookie_lifetime 0
session.cookie_path /
session.cookie_secure Off
session.entropy_file no value
session.entropy_length 0
session.gc_maxlifetime 1440
session.gc_probability 1
session.name SESSID
session.referer_check no value
session.save_handler files
session.save_path /tmp
session.serialize_handler php
session.use_cookies Off
session.use_trans_sid 0
its the same php.ini I used in 4.1.2 and lower.
I also tried the php.ini-dist from RC4
------------------------------------------------------------------------
[2002-04-16 05:03:17] hholzgra@php.net
afair SID is only defined when no session cookie was received?
------------------------------------------------------------------------
[2002-04-16 03:31:46] michael.hockerts@fonetix.de
<?php
session_start();
if ( SID != session_name() . '=' . session_id() ) echo 'shit'; else
echo 'my fault';
?>
'./configure' '--with-apxs2=/usr/httpd/sbin/apxs' '--with-mysql'
'--with-gd' '--with-jpeg-dir=/usr' '--with-png-dir=/usr/lib'
'--with-zlib=yes' '--with-xml' '--with-ttf' '--with-ftp'
'--enable-trans-sid' '--enable-track-vars' '--enable-magic-quotes'
'--enable-ftp' '--with-config-file-path=/etc/httpd2'
'--with-sybase=/usr/freetds' '--with-pdflib=/usr/local'
'--with-gettext'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16627&edit=1