Bug #17679: setcookie is not working finely
| From: | mathieu dot maura at libertysurf dot fr | Date: | Mon, 10 Jun 2002 12:17:09 +0000 |
| Subject: | Bug #17679: setcookie is not working finely | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-10012@lists.php.net to get a copy of this message | ||
From: mathieu.maura@libertysurf.fr
Operating system: linux mdk based
PHP version: 4.2.1
PHP Bug Type: Scripting Engine problem
Bug description: setcookie is not working finely
sory bug i write french.
J'utilise ie6 sur WinXP Pro et apache 1.3.24
La fonction setcookie semble ne pas vouloir effacer les cookies sauf si
d'autre cookie sont define aprés:
exemple qui ne fonctionne pas:
setcookie("mois", "") ;
setcookie("annee", "") ;
exemple qui fonctionne:
setcookie("mois", "") ;
setcookie("annee", "") ;
setcookie("C_mois", "$_mois" ) ;
setcookie("C_annee", "$_annee" ) ;
dans le premier cas phpinfo() renvoie:
_SERVER[HTTP_COOKIE"] -> mois=; annee=;
dans le deuxieme cas les cookies sont effacés et tout marche
convenablement.
Merci et vive PHP et m'Open Source
--
Edit bug report at http://bugs.php.net/?id=17679&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17679&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17679&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17679&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17679&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17679&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17679&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17679&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17679&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17679&r=globals