Cookies

From: Date: Tue, 17 Sep 2002 01:19:24 +0000
Subject: Cookies
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-116584@lists.php.net to get a copy of this message
I recently installed Apache 2.0.40 and PHP 4.2.3 on my windows 2000 box. Now I'm having tons of troubles with cookies working and all I'm trying to do is drop a session id and an expiration time. Sounds simple, and was actually working on my linux box before the motherboard died. I believe I was running PHP 4.0.6 on RedHat 7.2 at the time. Has anything changed? I've RTFM and haven't seen any changes in the setcookie() function. A second note, I was initially testing the cookies while running the browser and server on the same box. I thought that this particular setup my have been the culprit until I tried using a second machine on my network and received the same errors. Ok, now for the cookie behavior. The cookie will be set upon initially hitting the site. But, when I set the cookies on subsequent runs nothing happens, the data doesn't get updated like it should. Any suggestions? Thanks, Matt --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.386 / Virus Database: 218 - Release Date: 9/9/2002

« previous php.general (#116584) next »