
but another browser running well..<?php
$value = 'syu3';
$name = $_COOKIE["name"];
if($name != ""){
echo $name;
}else{
setcookie("name", $value, time()+5); /* expire in 5 second */
}
?>



Session variables are quirky; depending on the host’s PHP garbage collection settings you can lose the session after a few minutes of staying on one page.

