ID: 14389
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Open
Bug Type: IIS related
Operating System: NT4
PHP Version: 4.0.6
New Comment:

yes i do

Previous Comments:
------------------------------------------------------------------------

[2002-01-08 02:56:38] [EMAIL PROTECTED]

Do you still have this problem with PHP 4.1.1?

------------------------------------------------------------------------

[2001-12-09 05:00:16] [EMAIL PROTECTED]

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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to