I'm trying to write a cookie that is properly read by two hosts of the same

The hosts:

With PHP 4.1.1 for Linux on Apache (as module) I've written

setcookie("session",$sesscode, "/", "domain.com", "0");
setcookie("session",$sesscode, "/", ".domain.com", "0");

(diff is the leading 'dot' in the domain)

Neither of these are writing a cookie to Netscape 6.2 without the hostname
as part of the cookie.

How do you write the cookie so that BOTH SERVERS can read it?
Thx, RF.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to