|
Posted by ampeloso on 10/27/38 11:31
Yes, But they are not written to the Cookies folder unless there is an
expiration time.I tried this several times.
Run http://www.ampsoft.com/Doesnt.php
Refresh as much as you want---No cookie written to disk(Cookies Folder)
Run http://www.ampsoft.com/Does.php
Refresh - a cookie is written.
Doesnt:
<?php
$value = 'This cookie doesnt write';
setcookie("TestCookie", $value);
?>
Does:
<?php
$value = 'This cookie writes';
setcookie("TestCookie", $value,time()+3600); /* expire in 1 hour */
?>
Navigation:
[Reply to this message]
|