R: [PHP] R: [PHP] stupid crosscookie function

From: Date: Sat, 16 Dec 2000 00:31:48 +0000
Subject: R: [PHP] R: [PHP] stupid crosscookie function
Groups: php.general 
Request: Send a blank email to php-general+get-30624@lists.php.net to get a copy of this message
Yes, sorry. Of course it was http://site2.com/setcookie.php3 setcookie.php3 contains these two lines: setcookie("userid", $userid,time()+(3600*24*365)); should I add the domain of the page that hosts the image? For instance: Should I double like this to set the cookie in both domains? setcookie("userid", $userid,time()+(3600*24*365)); // is for site2 setcookie ("userid", "$userid",time()+(3600*24*365), "/", "site1.com", 0); // is for site1

« previous php.general (#30624) next »