#17663 [Com]: setcookie only sets last of multiple cookies
| From: | ben at galactic-tales dot de | Date: | Tue, 03 Jun 2003 13:41:28 +0000 |
| Subject: | #17663 [Com]: setcookie only sets last of multiple cookies | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-41026@lists.php.net to get a copy of this message | ||
ID: 17663
Comment by: ben at galactic-tales dot de
Reported By: craig at bioware dot com
Status: Closed
Bug Type: Apache2 related
Operating System: RedHat 7.2
PHP Version: 4.0CVS-2002-06-09
New Comment:
I just have trouble with this issue using both the newest PHP and
Apache2-release (4.3.2 / 2.0.46).
Only the first of multiple cookies gets set.
Any ideas?
Previous Comments:
------------------------------------------------------------------------
[2002-07-02 10:37:33] khristopher_klaich at nywd dot uscourts dot gov
So you are saying that php 4.2.1 will work 100% with apache 1.3.26?
------------------------------------------------------------------------
[2002-07-01 17:54:55] sniper@php.net
You need the latest CVS version of Apache2 too.
(2.0.40)
Apache2 (and support for it in PHP) are really experimental
still. You're better of with apache 1.3.26 anyway.
--Jani
------------------------------------------------------------------------
[2002-07-01 17:33:41] khristopher_klaich at nywd dot uscourts dot gov
I just tried to install this on my red.hat 6.2 system with apache
2.0.39 installed and I get the following
/usr/local/php4-200207011200/sapi/apache2filter/sapi_apache2.c: In
function `php
_register_hook':
/usr/local/php4-200207011200/sapi/apache2filter/sapi_apache2.c:567:
incompatible
type for argument 3 of `ap_register_output_filter'
/usr/local/php4-200207011200/sapi/apache2filter/sapi_apache2.c:567: too
many arg
uments to function `ap_register_output_filter'
/usr/local/php4-200207011200/sapi/apache2filter/sapi_apache2.c:568:
incompatible
type for argument 3 of `ap_register_input_filter'
/usr/local/php4-200207011200/sapi/apache2filter/sapi_apache2.c:568: too
many arg
uments to function `ap_register_input_filter'
make: *** [sapi/apache2filter/sapi_apache2.lo] Error 1
This happened on the make.....what now?
------------------------------------------------------------------------
[2002-06-28 01:26:21] derick@php.net
[2002-06-20 18:47:50] sniper@php.net
http://snaps.php.net/php4-latest.tar.gz fixes
this.
it doesn't say stable here, only fixed in the 4.3.0dev version.
Derick
------------------------------------------------------------------------
[2002-06-28 01:24:28] jtrusty at kiva dot net
Running apache 2.0.39 with php 4.2.2-dev (latest stable) compiled as
module on winnt. Experiencing the same problem. Php refuses to set
multiple cookies. If setting more than a single cookie in a row, only
the last cookie gets set (if you're lucky). Is a fix for this on the
way?
------------------------------------------------------------------------
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/17663
--
Edit this bug report at http://bugs.php.net/?id=17663&edit=1