Re: Cookies Not Working

From: Date: Wed, 04 Oct 2000 14:43:13 +0000
Subject: Re: Cookies Not Working
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-18589@lists.php.net to get a copy of this message
Hi James, I was facing the same problem some days ago. I was setting a cookie like this setcookie("test","test",$time()+300,"/","mydomain.com") - normally it should expire in 5 minutes and it didn't lasted more than a session . so I've set the expiration date to 3600 and it worked setcookie("test","test",$time()+3600,"/","mydomain.com"); Ovidiu -----Mesaj original----- De la: php-general-return-18080-eovidiu=rds.ro@lists.php.net [mailto:php-general-return-18080-eovidiu=rds.ro@lists.php.net]In numele James Crowley Trimis: Friday, September 29, 2000 7:27 PM Catre: php-general@lists.php.net Subiect: [PHP] Cookies Not Working Hi, I am using PHP4, IE5 and IIS5, but I cannot seem to get cookies to last longer than a session... I save the cookie, load another page, which can read it. However, if I close the browser, and open it again, it does not remember the cookie... Any ideas? thanks, - James ================== Email - james@vbweb.co.uk ICQ# - 60612011 Fax - 0870 7064574 Websites www.vbweb.co.uk www.vbwebdev.com www.ccrowley.f9.co.uk ================== -- 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 (#18589) next »