Hi, anyone could help
sth. seems strange, everything well to run on Netscape, but for windows, I got 2 cases from 2 machines as below:
1) can add the cookie, but after 1 minute, it also loads the same session, instead of adding a new session
2) cannot add the cookie all the time, this machine has index.dat at c:/windows/cookies directory
function checkSession() {
$rw_cookies = getenv( HTTP_COOKIE );
if(!$rw_cookies)
{
$session = md5(uniqid(rand)));
setcookie ("rw-main", "$session", time() + 60, "/", ".my.domain");
} else {
list ($k)=array(split("; ",$rw_cookies));
for($i=0; $i<count($k); $i++) {
list($cookie_name,$cookie_value)= split ("=", $k[$i]);
echo "Cookie Name: $cookie_name, Cookie Value: $cookie_value<BR>";
}
}
}