RE: [PHP] Cookie problem with IE 4

From: Date: Fri, 24 Nov 2000 03:58:48 +0000
Subject: RE: [PHP] Cookie problem with IE 4
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-26899@lists.php.net to get a copy of this message
With IE4, you must specify the DOMAIN parameter. In IE4, they have assumed that all sites are start with "www" if a domain is not specified. the command should look something like: setcookie("sessionid", $myseshid, 0, "/", $HTTP_ENV_VARS["HOSTNAME"]); or setcookie("sessionid", $myseshid, 0, "/", "mydomain.com"); // hard coding the domain > -----Original Message----- > From: Andrea Resmini [mailto:a.resmini@ogcs.com] > Sent: Wednesday, 15 November 2000 03:00 > To: php-general@lists.php.net > Subject: [PHP] Cookie problem with IE 4 > > > Anybody has any idea as to why a > > Setcookie("SESSION", $token, $time) > > where $token is an MD5 id and $time a time expression (which exist) > fails silently on IE 4 only? Is there any known bugs / feature I'm > missing? > > NOTE: the cookie is in the right place and works flawlessly with NS 4.7 > and Mozilla M18 on Linux. > > Thanks a lot in advance. > > > -- > > Andrea Resmini > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#26899) next »