|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-08-03 00:20 UTC] blueeye at mail dot blueeye dot idv dot tw
I've tried my project on 2 PCs with OS win2k pro and win2k server which run IIS + 4.0.5/4.0.6, but function setcooke() doesn't work! setcooke worked fine on IIS + php 4.0.0 half a year ago. but now I can't use it on IIS + php 4.0.6. may somebody help me test it? thanks a lot. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 14:00:01 2025 UTC |
please include a sample script, or create a script like this one and put it on the internet... <? setcookie("test","testing"); phpinfo(); ?>how about doing this... create a script like this <? setcookie ("test","testing"); echo "wahoo"; ?> then open an MS-DOS prompt, and type php c:\the\path\of\the\script.php look at the HTTP headers, is there a Cookie: header?oh, I read some post in bug reporting. I found my case and cookie test pages are familiar like post #12481. and my 'big' project which want to migrate to IIS is the same too. test page like this 1) test1.php <? setcookie('test1', 'teststring'); header('location: test2.php'); exit; ?> 2) test2.php <? echo "test2 = $test2"; ?>i have the same problem. <?//this doesn't work. setcookie("aa","bb",0); header("Location: test2.php"); ?> <?//this work fine. setcookie("aa","bb",0); echo "xxxxxxx"; ?>I have the same problem - also running on IIS 5.0 on a Win2k box - if I call setcookie () and then header ("Location: ..."), the cookie is not returned. Any ideas?