#30789 [Bgs]: New Session created for every session_start() call.
| From: | spam at taylorw dot com | Date: | Mon, 15 Nov 2004 07:19:52 +0000 |
| Subject: | #30789 [Bgs]: New Session created for every session_start() call. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-69070@lists.php.net to get a copy of this message | ||
ID: 30789
User updated by: spam at taylorw dot com
Reported By: spam at taylorw dot com
Status: Bogus
Bug Type: Session related
Operating System: Linux - 2.6.8-gentoo-r3
PHP Version: Irrelevant
New Comment:
Yeah it did, removed that one (which I know remember I copied off the
other box to compare with this boxes). The correct ini file is now
reported... but nothing else new to report.
Previous Comments:
------------------------------------------------------------------------
[2004-11-15 08:16:36] tony2001@php.net
I mean delete /php.ini and use /etc/php/apache2-php4/php.ini instead.
Does
ls -l /php.ini report that there is no such file ?
------------------------------------------------------------------------
[2004-11-15 08:13:27] spam at taylorw dot com
Not sure what you mean "put it to the right place" ? I understand that
it's trying to read it from /php.ini but I havent been able to find
where that is set?
I also used 'locate' to find all php.ini files and updated the two it
found to turn on the trans_sid, but still having the same issue.
------------------------------------------------------------------------
[2004-11-15 08:05:12] tony2001@php.net
No, put your php.ini to the right place first.
------------------------------------------------------------------------
[2004-11-15 07:56:01] spam at taylorw dot com
Changed, and checked using two different machines, and browsers... same
problem. I did note something of interest. After changing that setting,
I echo'ed phpinfo() and it does not show the updated setting in the
php.ini... So then I noticed something else (compared to another system
with exact same Apache and mod_php versions)...
For the box it wont work on:
--with-config-file-path=/etc/php/apache2-php4
Configuration File (php.ini) Path /php.ini
For the box it does work on:
--with-config-file-path=/etc/php/apache2-php4
Configuration File (php.ini) Path /etc/php/apache2-php4/php.ini
The second one has the correct path despite the fact that they both
have the same --with-configure lines. I'm not sure if that has anything
to do with the session issue?
------------------------------------------------------------------------
[2004-11-15 07:45:17] tony2001@php.net
Try to set session.use_trans_sid to 1 and check if cookies are enabled
in your browser.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/30789
--
Edit this bug report at http://bugs.php.net/?id=30789&edit=1