ID:               16627
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         Session related
 Operating System: Linux 2.4.10
 PHP Version:      4.2.0
 New Comment:

This is fixed in CVS and the fix will be in PHP 4.2.1.

--Jani



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

[2002-04-23 21:59:01] [EMAIL PROTECTED]

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.

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

[2002-04-16 05:33:26] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

afair SID is only defined when no session cookie was received?

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

[2002-04-16 03:31:46] [EMAIL PROTECTED]

<?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

Reply via email to