cookie problem
| From: | Cassiano Dal Pizzol | Date: | Wed, 05 Jun 2002 13:29:55 +0000 |
| Subject: | cookie problem | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-14081@lists.php.net to get a copy of this message | ||
guys i have a cookie problem
i´m developing a site who uses cookies to count the visits and to access the database, all works
fine in almost every browser i test...
all but one!!!
this one don´t accept the cookie i pass to it, by the way he doesn´t even register the cookie!!!
in all other browser and diferent O/S (XP, win98, win95, w2k) i test all works fine but this one is
a mystery to me...
well some tech specs bout the hated one
os win98
browser i6 6.0 (with some updates)
the script who sets the cookie
$servidor=$_SERVER['SERVER_NAME'];
if (isset($_COOKIE['identidade']))
{
$identidade=$_COOKIE['identidade'];
setcookie('identidade',$identidade,time()+3600,"/","$servidor",0);
}
else
{
$identidade = rand (1, 20000);
setcookie('identidade',$identidade,time()+3600,"/","$servidor",0);
some lines in the sql
}
hope u guys can help me
Cassiano Dal Pizzol
Informática CIELO
projetos@cielo.ind.br
www.cielo.ind.br
UIN 72941129