pretty please?
I have a situation where I have to have a cookie that is set
by one apache server and read by another. They are on the
same domain, but different ports. To write this I set
up two webserver one on port 81 and one on 90, the port 81 server
calles setcookie, but in the DOMAIN argument I specified the port
(i.e. "192.168.1.102:90"). but this doesn't work :(
In the cookies file it shows up as "192.168.1.102:81"
Any ideas what I'm doing wrong? Here is the PHP call to setcookie:
setcookie("SITE_RULES[PERM]" , "YES", "time()+2700" , "/$path" ,
"$URL:$port");
$path is the path without the leading /
$URL is the url without the port
$port is the target port
Any help would be really appreciated.
-fjr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php