Bug #15981: special order for header-location an setcookie in CGI-Mode
| From: | metz at speedpartner dot de | Date: | Sun, 10 Mar 2002 09:41:36 +0000 |
| Subject: | Bug #15981: special order for header-location an setcookie in CGI-Mode | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-2149@lists.php.net to get a copy of this message | ||
From: metz@speedpartner.de
Operating system: RedHat 7.1
PHP version: 4.1.2
PHP Bug Type: Output Control
Bug description: special order for header-location an setcookie in CGI-Mode
when trying to set a cookie before sending a header("location: ") - request
the is a special order
first you have to do the header-redirect and after that you can do the
setcookie.
this only seems to appear with CGI-PHP
--
Edit bug report at http://bugs.php.net/?id=15981&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15981&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15981&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15981&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15981&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15981&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15981&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15981&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=15981&r=submittedtwice