Bug #15317 Updated: setcookie() does not work with CGI PHP

From: Date: Mon, 04 Mar 2002 21:35:27 +0000
Subject: Bug #15317 Updated: setcookie() does not work with CGI PHP
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-1642@lists.php.net to get a copy of this message
ID: 15317 Updated by: krane@adm.njit.edu Reported By: bmatzelle@yahoo.com Status: Open Bug Type: IIS related Operating System: Windows 2000 SP2 PHP Version: 4.1.1 New Comment: Experiencing the same problem. If the cookies are set using setcookie() on a *nix box, they can successfully be read using PHP/ASP running on Windows or *nix. However, cookies set with PHP using setcookie() on Windows cannot be read by *either* ASP or PHP running on *either* Windows or *nix. Since it's not triggering IE's cookie protection nor lynx's it's a safe assumption that maybe setcookie() just doesnt work on Windows. Previous Comments: ------------------------------------------------------------------------ [2002-01-31 14:04:31] bmatzelle@yahoo.com When I use the IIS CGI version on Windows the setcookie() function does not set the cookie. The $HTTP_COOKIE_VARS and $_COOKIE arrays are both totally empty. However, it does work with the (very unstable) ISAPI version and always works on Apache no matter the OS. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15317&edit=1

« previous php.bugs (#1642) next »