In PHP4.3.x
If I set a cookie with setcookie and send a location header immediately.
I find no problem for the task.

That is,
<?php
setcookie("testcookie","teststr",time()+360000);
header ("Location:nextpage.php");
?>
And testcookie can be found in the latter page.

However, I can't In PHP4.1.x

What's the problem?
A compromised method of using meta refresh of zero second is used.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to