Re: Cookie Help

From: Date: Tue, 14 Aug 2001 00:51:24 +0000
Subject: Re: Cookie Help
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-62547@lists.php.net to get a copy of this message
> Hi, I have a problem with setting cookies...I am able to set cookies and > retreive the information when using IE but not netscape. I'm not totally > sure what the problem is. Here is the syntax that I am using, any > suggestions are welcomed. > > $cookiedata = "Mmmm"; > $time = mktime()+900; > $expire = date("l, d-M-y H:i:s", ($time)); > setcookie("cookiemonster", $cookiedata, $expire, "/", > "domain.com.", 1); > > It needs to be secure, hence the 1. Also, I need the domain to be > "domain.com" and it cannot be www.domain.com. Can anyone help me at all? > Thanks! Change your Netscape preferences to "warn me before accepting any cookies". Is Netscape getting the cookies? Look at the cookie Netscape stored in your Cookies file. Does it seem to have what you would expect? You *ARE* doing all of this on an SSL site with https:// throughout, correct?... -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

« previous php.general (#62547) next »