Bug #11103 Updated: different cookie behavior with module vs. cgi
| From: | yohgaki@php.net | Date: | Wed, 12 Dec 2001 13:18:02 +0000 |
| Subject: | Bug #11103 Updated: different cookie behavior with module vs. cgi | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-73293@lists.php.net to get a copy of this message | ||
ID: 11103
Updated by: yohgaki
Reported By: mike@kristopeit.com
Old Status: Open
Status: Feedback
Bug Type: Scripting Engine problem
Operating System: win98
PHP Version: 4.0.5
New Comment:
Do you still have this problem with 4.1.0?
Previous Comments:
------------------------------------------------------------------------
[2001-05-25 00:10:55] mike@kristopeit.com
ok... i added the code before and you told me to ask for help in the support forum! argh. anyway,
here is some psuedo code.
script1.php:
set_cookie(blah);
header(Loaction: absolute to script2);
script2.php:
/* cookie is not available here in cgi version, but is in module version */
------------------------------------------------------------------------
[2001-05-24 21:38:36] sniper@php.net
Add an example script into this bug report.
------------------------------------------------------------------------
[2001-05-24 21:00:05] mike@kristopeit.com
when running php as cgi with this sequence set_cookie(), header(Location: new script): new script
will not see the cookie.
however, with the module it works fine.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=11103&edit=1