Forgot to -cc the list. André Cerqueira wrote:
<snip>-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
> Here's what I use to set the cookie. > $value=(time() + 9000) . ":$uid:$username:$gid:$fullname"; > SetCookie("Trackookie", $value, 0, "", "server.mssystems.com" ); > > Here's what I use to delete the cookie. > SetCookie("Trackookie", "", time()-3600, "", "support.mssystems.com");
the domain is different
one of them uses one domain for creating and deleting, the other uses the other domain, right?
check that...
Sorry, didn't proofread my initial message. I wish it were that easy as what you pointed out. Here are the actual commands used in the script
Server 1 (support.mssystems.com) -------------------------------- Set cookie: $value=(time() + 9000) . ":$uid:$username:$gid:$fullname"; SetCookie("Trackookie", $value, 0, "", "support.mssystems.com" );
Delete cookie: SetCookie("Trackookie", "", time()-3600, "", "support.mssystems.com" );
Server 2 (token.mssystems.com) -------------------------------- Set cookie: $value=(time() + 9000) . ":$uid:$username:$gid:$fullname"; SetCookie("Trackookie", $value, 0, "", "token.mssystems.com" );
Delete cookie: SetCookie("Trackookie", "", time()-3600, "", "token.mssystems.com" );
As I stated in the initial post, the only difference between the two servers is the apache version (1.3.29 vs 2.0.48). These are virtual hosts and the php directives are the same for both servers. This just seems very puzzling.
do
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php