Bug #14345 Updated: cookies
| From: | krane at adm dot njit dot edu | Date: | Mon, 04 Mar 2002 21:46:11 +0000 |
| Subject: | Bug #14345 Updated: cookies | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-1643@lists.php.net to get a copy of this message | ||
ID: 14345
Updated by: krane@adm.njit.edu
Reported By: narcotic@labs.gr
Status: Bogus
Bug Type: Session related
Operating System: windows2000
PHP Version: 4.0.6
New Comment:
That only applies when you are trying to access the cookie from the
same page that wrote it. Since cookie information is sent to the
server from the client with the header information, the server cant get
the cookie until the header information is sent to it (eg from a page
request, refresh, header redirect, etc).
That's somewhat different than setcookie() outright not working on
win2k/iis5 :)
Previous Comments:
------------------------------------------------------------------------
[2001-12-04 17:17:04] derick@php.net
Not a bug, from the manual
(http://uk.php.net/manual/en/function.setcookie.php):
Common Pitfalls:
*
Cookies will not become visible until the next loading of a page
that the cookie should be visible for.
------------------------------------------------------------------------
[2001-12-04 17:15:32] narcotic@labs.gr
setcookie does not send cookie to browser, you have to refresh the page
for the cookie to be send, i cannot find any other solution
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=14345&edit=1