Bug #16626 [Com]: Only last cookie set

From: Date: Thu, 04 Nov 2021 02:14:48 +0000
Subject: Bug #16626 [Com]: Only last cookie set
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-237534@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=16626&edit=1 ID: 16626 Comment by: fernandogomez at hotmail dot com Reported by: svein dot olav at bjerkeset dot com Summary: Only last cookie set Status: Closed Type: Bug Package: Apache2 related Operating System: All PHP Version: 4.2.1 Block user comment: N Private report: N New Comment: I have the same problem on my site https://chatsexocam.com/en/ so I had to disable cookies. I tried to modify the script and I even tried phpmyadmin but I can't find the solution Previous Comments: ------------------------------------------------------------------------ [2004-04-29 12:29:02] sourabh6526 at codewalkers dot com had same problem here. Trying to solve it. is it true we shuld use javascript to use cookies and not php directly? My seniors told me, so please clarify. thnks. robin ------------------------------------------------------------------------ [2004-02-16 08:02:44] g dot nivet at free dot fr http://127.0.0.1/mysql/index.php This is a simple way to start phpMyAdmin. GN ------------------------------------------------------------------------ [2003-12-29 08:02:33] erezoom at netvision dot net dot il I have the same problem I installed the latesed versions but still it's not working !!! What to do? look: www.artic.co.il ------------------------------------------------------------------------ [2002-06-20 14:55:19] marcum at austin dot rr dot com I downloaded the latest cvs snapshot (php4.3 on 06/20) from http://snaps.php.net/ and compiled with apache 2.0.39. The setcookie function seems to be working in that release. ------------------------------------------------------------------------ [2002-06-20 10:03:18] red at tripany dot com Well after extensive testing, I have to conclude it's probably not a php (alone) problem. I have tried: PHP ver. Apache ver. --enable-so works? error --------------------------------------------------------- 4.2.1 2.0.39 yes no yes 2.1 36 yes yes no 2.0 39 yes no yes 2.0 36 no no yes 2.0 36 yes yes no 4.0.3pl1 1.3.9 ? yes ? (4.0.3pl1 is the standard debian package) The rest of the 2.1 installations (with apache 39) don't work and give errors, so there's some problem with the apxs interaction between php and httpd 2.0.39. As php2.1.0 works with httpd 2.0.36 I'm now assuming there was a change in the apxs of apache in the security fix version which renders the multiple cookies unwriteable. I'll send this off to apache as well. Cheers Robin ------------------------------------------------------------------------ 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 https://bugs.php.net/bug.php?id=16626 -- Edit this bug report at https://bugs.php.net/bug.php?id=16626&edit=1

« previous php.bugs (#237534) next »