Bug #16980: session_start() somtimes ignores "session.use_cookies=1" in php.ini
| From: | php at lowgradepain dot com | Date: | Thu, 02 May 2002 22:32:51 +0000 |
| Subject: | Bug #16980: session_start() somtimes ignores "session.use_cookies=1" in php.ini | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-6789@lists.php.net to get a copy of this message | ||
From: php@lowgradepain.com
Operating system: Linux 2.2.20
PHP version: 4.2.0
PHP Bug Type: Session related
Bug description: session_start() somtimes ignores "session.use_cookies=1" in php.ini
It appears that the first script I hit on a site where session_start() is
invoked causes the ?PHPSESSID=xxxxx in the URL, even though my php.ini
file specifies:
session.use_cookies = 1
After that first page, the session continues to work but the URL no longer
contains the PHPSESSID parameter.
This has not been the case in previous installations of PHP on the same
server. I just recently upgraded from 4.1.1 to 4.2.0 and this issue
began.
php config line:
./configure' '--with-apache=../apache_1.3.23'
'--prefix=/usr/local/pkg/php-4.2.0' '--enable-sysvsem'
'--enable-sysvshm'
'--with-imap=../imap-2001.BETA.SNAP-0106252013'
'--with-pgsql=/usr/local/pgsql' '--enable-trackvars' '--disable-debug'
--
Edit bug report at http://bugs.php.net/?id=16980&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16980&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16980&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16980&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16980&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16980&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16980&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16980&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16980&r=submittedtwice