Bug #14389 Updated: cookies problem
| From: | fabio dot ottolini at edb dot ericsson dot se | Date: | Fri, 26 Apr 2002 18:35:38 +0000 |
| Subject: | Bug #14389 Updated: cookies problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-6157@lists.php.net to get a copy of this message | ||
ID: 14389
Updated by: fabio.ottolini@edb.ericsson.se
Reported By: demon@dreamers.gr
Status: Open
Bug Type: IIS related
Operating System: NT4
PHP Version: 4.1.1
New Comment:
I'm using PHP 4.2.0 with Apache 1.3.24 under NT 4 SP6.
I have exactly the same problem.
I have reported this bug a while ago and nothing happend.
Previous Comments:
------------------------------------------------------------------------
[2002-04-22 11:52:21] ftouanen@yahoo.fr
I'm using PHP 4.11 with Apache under NT 4 SP5.
I have exactly the same problem.
Note : When I use Apache + PHP 411 under WIN98, all working fine.
------------------------------------------------------------------------
[2002-01-08 05:44:28] demon@dreamers.gr
yes i do
------------------------------------------------------------------------
[2002-01-08 05:24:56] demon@dreamers.gr
yes i do
------------------------------------------------------------------------
[2002-01-08 02:56:38] lobbin@php.net
Do you still have this problem with PHP 4.1.1?
------------------------------------------------------------------------
[2001-12-09 05:00:16] demon@dreamers.gr
I'm using this code in 3 pages
in Page 1:
<form name="frm1" method="post">
<input type="password" size=20><input type="submit">
</form>
in page2:
if ($password == "mypassword") {
setcookie("user", "admin");
header("location: page3.php");
}
in page3:
echo $HTTP_COOKIE_VARS["user"];
i'm using NT4 with iis4. My problem is that the cookie is not set,
instead of header("location: page3.php") i used this echo "<META
HTTP-EQUIV=\"Refresh\" CONTENT=\"0;URL=page3.php\">"; and then i could
get cookie value! this problem is only under iis4/iis5 under apache
(not windows only unix) i didn't have any problems
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=14389&edit=1